summaryrefslogtreecommitdiff
path: root/include/element.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-10-16 18:49:52 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-10-16 18:49:52 +0200
commit0dff808200acbee5ce5761b4ed57615a6ae1554d (patch)
treef15889d258271df847ed29824a8c38afa2880502 /include/element.h
parentf2edff0115078824f87fd647e8cb05c0628caaf2 (diff)
downloadconnman-0dff808200acbee5ce5761b4ed57615a6ae1554d.tar.gz
connman-0dff808200acbee5ce5761b4ed57615a6ae1554d.tar.bz2
connman-0dff808200acbee5ce5761b4ed57615a6ae1554d.zip
Add more property helpers
Diffstat (limited to 'include/element.h')
-rw-r--r--include/element.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/element.h b/include/element.h
index 29f1b3f5..d2f13abe 100644
--- a/include/element.h
+++ b/include/element.h
@@ -115,6 +115,8 @@ extern void connman_element_unref(struct connman_element *element);
extern int connman_element_add_static_property(struct connman_element *element,
const char *name, int type, const void *value);
+extern int connman_element_add_static_array_property(struct connman_element *element,
+ const char *name, int type, const void *value, int len);
extern int connman_element_define_properties(struct connman_element *element, ...);
extern int connman_element_create_property(struct connman_element *element,
const char *name, int type);
@@ -122,6 +124,12 @@ extern int connman_element_set_property(struct connman_element *element,
enum connman_property_id id, const void *value);
extern int connman_element_get_value(struct connman_element *element,
enum connman_property_id id, void *value);
+extern gboolean connman_element_get_static_property(struct connman_element *element,
+ const char *name, void *value);
+extern gboolean connman_element_get_static_array_property(struct connman_element *element,
+ const char *name, void *value, int *len);
+extern gboolean connman_element_match_static_property(struct connman_element *element,
+ const char *name, const void *value);
extern int connman_element_register(struct connman_element *element,
struct connman_element *parent);