diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-11-12 14:07:19 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-11-23 12:58:50 +0200 |
commit | 8c12ec683a443b72c600751e3496a790bade6981 (patch) | |
tree | 42a84cb19b2ac739b7e5661502f9cdc8a292e88c /include/device.h | |
parent | 68dde4bb2c3e90a6f48dc48609636228dd186c8c (diff) | |
download | connman-8c12ec683a443b72c600751e3496a790bade6981.tar.gz connman-8c12ec683a443b72c600751e3496a790bade6981.tar.bz2 connman-8c12ec683a443b72c600751e3496a790bade6981.zip |
device: Move device creation func into device.c
The device creation function should be part of device.c and
not inet.c. After this change the inet.c can be used by
separate vpn daemon.
Diffstat (limited to 'include/device.h')
-rw-r--r-- | include/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h index 470059b1..d3746551 100644 --- a/include/device.h +++ b/include/device.h @@ -113,6 +113,7 @@ int connman_device_set_regdom(struct connman_device *device, const char *alpha2); void connman_device_regdom_notify(struct connman_device *device, int result, const char *alpha2); +struct connman_device *connman_device_create_from_index(int index); struct connman_device_driver { const char *name; |