summaryrefslogtreecommitdiff
path: root/include/element.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-25 03:36:25 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-25 03:36:25 +0100
commit990d345674c6dc7d8f07655d1d2e1ea61d173853 (patch)
tree42b9d8d65bf5c1608af23f4070cf57ec06bc7c6d /include/element.h
parent720b8692c453b14829b85b0c5647e7babe7a4752 (diff)
downloadconnman-990d345674c6dc7d8f07655d1d2e1ea61d173853.tar.gz
connman-990d345674c6dc7d8f07655d1d2e1ea61d173853.tar.bz2
connman-990d345674c6dc7d8f07655d1d2e1ea61d173853.zip
Add destruct callback to element structure
Diffstat (limited to 'include/element.h')
-rw-r--r--include/element.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/element.h b/include/element.h
index 083533da..e8199b76 100644
--- a/include/element.h
+++ b/include/element.h
@@ -103,6 +103,13 @@ struct connman_element {
struct connman_driver *driver;
void *driver_data;
+ void (*destruct) (struct connman_element *element);
+
+ union {
+ void *private;
+ struct connman_device *device;
+ };
+
GSList *properties;
struct {