2018-11-04 03:38:06 -05:00
|
|
|
#pragma once
|
2018-11-01 13:23:12 -04:00
|
|
|
|
2019-01-19 23:59:37 -05:00
|
|
|
#include <string>
|
2019-01-20 15:20:34 -05:00
|
|
|
#include <functional>
|
2018-11-07 02:10:38 -05:00
|
|
|
|
2020-11-04 04:42:02 -08:00
|
|
|
int setprop(const char *name, const char *value, bool prop_svc = true);
|
2019-01-19 23:59:37 -05:00
|
|
|
std::string getprop(const char *name, bool persist = false);
|
2020-05-07 06:08:30 -07:00
|
|
|
void getprops(void (*callback)(const char *, const char *, void *),
|
2020-12-30 22:11:24 -08:00
|
|
|
void *cookie = nullptr, bool persist = false);
|
2020-03-09 02:05:24 -07:00
|
|
|
int delprop(const char *name, bool persist = false);
|
2020-11-04 01:56:49 -08:00
|
|
|
void load_prop_file(const char *filename, bool prop_svc = true);
|