30#ifndef _INCLUDE_SYS_SYSTEM_PROPERTIES_H
31#define _INCLUDE_SYS_SYSTEM_PROPERTIES_H
38typedef struct prop_info prop_info;
41#define PROP_NAME_MAX TBOX_PROP_NAME_MAX
44#define PROP_VALUE_MAX TBOX_PROP_VALUE_MAX
47#define PROP_BLOB_MAX TBOX_PROP_BLOB_MAX
56int __system_property_get(
const char *name,
char *value);
60int __system_property_set(
const char *key,
const char *value);
71const prop_info *__system_property_find(
const char *name);
82int __system_property_read(
const prop_info *pi,
char *name,
char *value);
93const prop_info *__system_property_find_nth(
unsigned n);
105int __system_property_foreach(
106 void (*propfn)(
const prop_info *pi,
void *cookie),
109int __system_properties_init();