summaryrefslogtreecommitdiff
path: root/include/network.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-26 07:47:45 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-26 07:47:45 +0100
commitaa2e6dc4b4896e1b3a440736e7c27271a1bbd2d0 (patch)
tree25ea878452508b36d898278327aeca0e48a5da2e /include/network.h
parent1440a12d34f626a3041838af3001a894bc2089c8 (diff)
downloadconnman-aa2e6dc4b4896e1b3a440736e7c27271a1bbd2d0.tar.gz
connman-aa2e6dc4b4896e1b3a440736e7c27271a1bbd2d0.tar.bz2
connman-aa2e6dc4b4896e1b3a440736e7c27271a1bbd2d0.zip
Add support for identifier and driver data
Diffstat (limited to 'include/network.h')
-rw-r--r--include/network.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
index c025ca5a..292dd9f6 100644
--- a/include/network.h
+++ b/include/network.h
@@ -44,6 +44,11 @@ extern struct connman_network *connman_network_create(const char *identifier,
extern struct connman_network *connman_network_ref(struct connman_network *network);
extern void connman_network_unref(struct connman_network *network);
+extern const char *connman_network_get_identifier(struct connman_network *network);
+
+extern void *connman_network_get_data(struct connman_network *network);
+extern void connman_network_set_data(struct connman_network *network, void *data);
+
struct connman_network_driver {
const char *name;
enum connman_network_type type;