summaryrefslogtreecommitdiff
path: root/include/element.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-05-18 12:13:51 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-05-18 13:06:56 +0200
commit1108a9e8e29c8eaf5d110407f203f8229dfb6526 (patch)
treebe92057725d22bf751b4a9918238b3edcb85184d /include/element.h
parentb03e0cf25c70620a9eeed2b322837df1f12757af (diff)
downloadconnman-1108a9e8e29c8eaf5d110407f203f8229dfb6526.tar.gz
connman-1108a9e8e29c8eaf5d110407f203f8229dfb6526.tar.bz2
connman-1108a9e8e29c8eaf5d110407f203f8229dfb6526.zip
Unregister element's children by type
Add a new element API to be able to unregister an element's children of a certain type.
Diffstat (limited to 'include/element.h')
-rw-r--r--include/element.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/element.h b/include/element.h
index f97e2e42..eab567e8 100644
--- a/include/element.h
+++ b/include/element.h
@@ -139,6 +139,8 @@ int connman_element_register(struct connman_element *element,
struct connman_element *parent);
void connman_element_unregister(struct connman_element *element);
void connman_element_unregister_children(struct connman_element *element);
+void connman_element_unregister_children_type(struct connman_element *element,
+ enum connman_element_type type);
void connman_element_update(struct connman_element *element);
int connman_element_set_enabled(struct connman_element *element,