1
0
mirror of https://github.com/topjohnwu/Magisk.git synced 2025-03-30 22:22:15 +00:00
2020-05-07 23:54:00 -07:00

12 lines
421 B
C++

#pragma once
#include <string>
#include <functional>
int setprop(const char *name, const char *value, bool trigger = true);
std::string getprop(const char *name, bool persist = false);
void getprops(void (*callback)(const char *, const char *, void *),
void *cookie = nullptr, bool persist = false);
int delprop(const char *name, bool persist = false);
void load_prop_file(const char *filename, bool trigger = true);