summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-07-25 16:24:30 +0200
committerMarcel Holtmann <marcel@holtmann.org>2011-07-26 01:21:06 +0200
commit04b5b05b64a613ced1b78ce6e9859f1e10032534 (patch)
tree5248ef24bd922caf8baf005446427a98f9542ee8 /include
parent4c769d10c89d516c6901243142b1efa64ab208ad (diff)
downloadconnman-04b5b05b64a613ced1b78ce6e9859f1e10032534.tar.gz
connman-04b5b05b64a613ced1b78ce6e9859f1e10032534.tar.bz2
connman-04b5b05b64a613ced1b78ce6e9859f1e10032534.zip
network: Remove connman_network_register/unregister()
Since the service object doesn't take a reference the intermediate step of having a connman_network_register/unregister is not needed. This function are only there to have an additional step where probe()/remove() will be called. This is the job of connman_device_add_network()/connman_device_remove_network().
Diffstat (limited to 'include')
-rw-r--r--include/network.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/network.h b/include/network.h
index e9bbdb3f..3db5e9b3 100644
--- a/include/network.h
+++ b/include/network.h
@@ -138,9 +138,6 @@ void connman_network_set_data(struct connman_network *network, void *data);
void connman_network_update(struct connman_network *network);
-int connman_network_register(struct connman_network *network);
-void connman_network_unregister(struct connman_network *network);
-
struct connman_network_driver {
const char *name;
enum connman_network_type type;