mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 20:57:39 +00:00
13 lines
450 B
C
13 lines
450 B
C
/* resetprop.h - API for resetprop
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
int prop_exist(const char *name);
|
|
int setprop(const char *name, const char *value, const bool trigger = true);
|
|
char *getprop(const char *name, bool persist = false);
|
|
void getprop(void (*callback)(const char *, const char *, void *), void *cookie, bool persist = false);
|
|
int deleteprop(const char *name, bool persist = false);
|
|
int load_prop_file(const char *filename, const bool trigger = true);
|
|
|