diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-10-15 21:42:40 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-10-15 21:42:40 +0200 |
commit | 9508e2afee0328fcf3a11775555bb0ffe1b1d3e4 (patch) | |
tree | b55dcd2977abb3b37465cf81bc50fb1a02b991df /include | |
parent | eae556dcaff92fc0e7c5915d364839c0c3e52a40 (diff) | |
download | connman-9508e2afee0328fcf3a11775555bb0ffe1b1d3e4.tar.gz connman-9508e2afee0328fcf3a11775555bb0ffe1b1d3e4.tar.bz2 connman-9508e2afee0328fcf3a11775555bb0ffe1b1d3e4.zip |
Add set_enabled and rescan funtions
Diffstat (limited to 'include')
-rw-r--r-- | include/element.h | 3 |
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; |