Magisk/native/jni/include/resetprop.h

18 lines
562 B
C
Raw Normal View History

2017-04-14 00:06:41 +02:00
/* resetprop.h - API for resetprop
*/
#ifndef _RESETPROP_H_
#define _RESETPROP_H_
2017-06-11 14:22:10 +02:00
int prop_exist(const char *name);
2017-04-14 00:06:41 +02:00
int setprop(const char *name, const char *value);
2017-04-30 19:58:52 +02:00
int setprop2(const char *name, const char *value, const int trigger);
2017-04-14 00:06:41 +02:00
char *getprop(const char *name);
2017-10-09 20:04:50 +02:00
char *getprop2(const char *name, int persist);
int deleteprop(const char *name);
int deleteprop2(const char *name, const int persist);
2017-04-30 19:58:52 +02:00
int read_prop_file(const char* filename, const int trigger);
2018-04-28 14:22:42 +02:00
void getprop_all(void (*callback)(const char *, const char *, void *), void *cookie);
2017-04-14 00:06:41 +02:00
#endif