mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-19 09:32:33 +00:00
Refactor resetprop
This commit is contained in:
21
jni/resetprop/resetprop.h
Normal file
21
jni/resetprop/resetprop.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/* 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);
|
||||
int setprop2(const char *name, const char *value, int trigger);
|
||||
char *getprop(const char *name);
|
||||
int deleteprop(const char *name);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user