From 9508e2afee0328fcf3a11775555bb0ffe1b1d3e4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 15 Oct 2008 21:42:40 +0200 Subject: Add set_enabled and rescan funtions --- include/element.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/element.h') 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; -- cgit v1.2.3