2017-04-13 22:06:41 +00:00
|
|
|
/* resetprop.h - API for resetprop
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _RESETPROP_H_
|
|
|
|
#define _RESETPROP_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-06-11 12:22:10 +00:00
|
|
|
int prop_exist(const char *name);
|
2017-04-13 22:06:41 +00:00
|
|
|
int setprop(const char *name, const char *value);
|
2017-04-30 17:58:52 +00:00
|
|
|
int setprop2(const char *name, const char *value, const int trigger);
|
2017-04-13 22:06:41 +00:00
|
|
|
char *getprop(const char *name);
|
2017-07-18 03:56:57 +00:00
|
|
|
int deleteprop(const char *name, const int trigger);
|
2017-04-30 17:58:52 +00:00
|
|
|
int read_prop_file(const char* filename, const int trigger);
|
2017-07-18 03:56:57 +00:00
|
|
|
void getprop_all(void (*cbk)(const char *name));
|
2017-04-13 22:06:41 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|