Refactor resetprop

This commit is contained in:
topjohnwu
2017-04-14 06:06:41 +08:00
parent 144ff5e716
commit 796c3009c7
3 changed files with 138 additions and 120 deletions

21
jni/resetprop/resetprop.h Normal file
View 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