Update resetprop to partially use system impl

This commit is contained in:
topjohnwu
2020-05-07 23:54:00 -07:00
parent aa8b23105f
commit 232ae2a189
5 changed files with 172 additions and 130 deletions

View File

@@ -3,7 +3,6 @@
#include <string>
#include <functional>
bool prop_exist(const char *name);
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 *),