mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 05:07:38 +00:00
24 lines
512 B
C
24 lines
512 B
C
/* resetprop.h - API for resetprop
|
|
*/
|
|
|
|
#ifndef _RESETPROP_H_
|
|
#define _RESETPROP_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int prop_exist(const char *name);
|
|
int setprop(const char *name, const char *value);
|
|
int setprop2(const char *name, const char *value, const int trigger);
|
|
char *getprop(const char *name);
|
|
int deleteprop(const char *name, const int trigger);
|
|
int read_prop_file(const char* filename, const int trigger);
|
|
void getprop_all(void (*cbk)(const char *name));
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|