Support get property context

Co-authored-by: canyie <a1364259@163.com>
Co-authored-by: vvb2060 <vvb2060@gmail.com>
This commit is contained in:
topjohnwu
2023-05-18 14:46:32 -07:00
parent fe1ca52f6d
commit f36b21bae5
35 changed files with 42 additions and 3757 deletions

View File

@@ -5,6 +5,7 @@
int setprop(const char *name, const char *value, bool prop_svc = true);
std::string getprop(const char *name, bool persist = false);
std::string getpropcontext(const char *name);
void getprops(void (*callback)(const char *, const char *, void *),
void *cookie = nullptr, bool persist = false);
int delprop(const char *name, bool persist = false);