Magisk/jni/resetprop/resetprop.h

23 lines
432 B
C
Raw Normal View History

2017-04-14 06:06:41 +08:00
/* resetprop.h - API for resetprop
*/
#ifndef _RESETPROP_H_
#define _RESETPROP_H_
#ifdef __cplusplus
extern "C" {
#endif
int init_resetprop();
int setprop(const char *name, const char *value);
2017-05-01 01:58:52 +08:00
int setprop2(const char *name, const char *value, const int trigger);
2017-04-14 06:06:41 +08:00
char *getprop(const char *name);
int deleteprop(const char *name);
2017-05-01 01:58:52 +08:00
int read_prop_file(const char* filename, const int trigger);
2017-04-14 06:06:41 +08:00
#ifdef __cplusplus
}
#endif
#endif