diff options
author | Martin Xu <martin.xu@intel.com> | 2010-01-28 22:38:46 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-01-29 08:12:52 +0100 |
commit | 27c7fd4ec4582769b1164be1daaf56e8f070f0f5 (patch) | |
tree | 52e206500fe0c92f43661f43760ef7e5d4be3a9b /include | |
parent | 1e3def632f54af8437080f8fe6db7f1d833f606d (diff) | |
download | connman-27c7fd4ec4582769b1164be1daaf56e8f070f0f5.tar.gz connman-27c7fd4ec4582769b1164be1daaf56e8f070f0f5.tar.bz2 connman-27c7fd4ec4582769b1164be1daaf56e8f070f0f5.zip |
Add network->driver->setup() callback function
After string value has been set in function connman_network_set_string()
call network->driver->setup() to let network driver handle the value.
ofono network driver setup call back function handles "Cellular.APN" to
set up APN.
Diffstat (limited to 'include')
-rw-r--r-- | include/network.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h index 6ab109da..e0b1cc39 100644 --- a/include/network.h +++ b/include/network.h @@ -141,6 +141,7 @@ struct connman_network_driver { void (*remove) (struct connman_network *network); int (*connect) (struct connman_network *network); int (*disconnect) (struct connman_network *network); + int (*setup) (struct connman_network *network, const char *key); }; int connman_network_driver_register(struct connman_network_driver *driver); |