summaryrefslogtreecommitdiff
path: root/include/element.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/element.h')
-rw-r--r--include/element.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/element.h b/include/element.h
index 4669332e..9054c833 100644
--- a/include/element.h
+++ b/include/element.h
@@ -128,6 +128,9 @@ extern void connman_element_unregister(struct connman_element *element);
extern void connman_element_unregister_children(struct connman_element *element);
extern void connman_element_update(struct connman_element *element);
+extern int connman_element_set_enabled(struct connman_element *element,
+ gboolean enabled);
+
static inline void *connman_element_get_data(struct connman_element *element)
{
return element->driver_data;