Magisk/jni/resetprop/resetprop.h
2017-06-11 20:22:10 +08:00

23 lines
444 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);
int read_prop_file(const char* filename, const int trigger);
#ifdef __cplusplus
}
#endif
#endif