summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-02 19:29:08 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-07 14:57:52 +0200
commit3973603a07be70d0a5a0dfda88d71bc9252a9c0a (patch)
treef9b1ec54a23d4b4c07510cd82046a3674569257d /src/connman.h
parente30a42af3e368c5abe0e346ff397d6f9b6954856 (diff)
downloadconnman-3973603a07be70d0a5a0dfda88d71bc9252a9c0a.tar.gz
connman-3973603a07be70d0a5a0dfda88d71bc9252a9c0a.tar.bz2
connman-3973603a07be70d0a5a0dfda88d71bc9252a9c0a.zip
element: Remove device code
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/connman.h b/src/connman.h
index e2441eca..198b1f7d 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -181,7 +181,7 @@ void __connman_driver_rescan(struct connman_driver *driver);
#include <connman/element.h>
-int __connman_element_init(const char *device, const char *nodevice);
+int __connman_element_init(void);
void __connman_element_start(void);
void __connman_element_stop(void);
void __connman_element_cleanup(void);
@@ -198,20 +198,9 @@ void __connman_element_list(struct connman_element *element,
enum connman_element_type type,
DBusMessageIter *iter);
-struct connman_device *__connman_element_get_device(struct connman_element *element);
-
-struct connman_device *__connman_element_find_device(enum connman_service_type type);
-int __connman_element_request_scan(enum connman_service_type type);
-int __connman_element_enable_technology(enum connman_service_type type);
-int __connman_element_disable_technology(enum connman_service_type type);
-
-gboolean __connman_element_device_isfiltered(const char *devname);
-
int __connman_detect_init(void);
void __connman_detect_cleanup(void);
-void __connman_element_set_driver(struct connman_element *element);
-
#include <connman/proxy.h>
int __connman_proxy_init(void);
@@ -361,12 +350,18 @@ connman_bool_t __connman_technology_get_blocked(enum connman_service_type type);
#include <connman/device.h>
-int __connman_device_init(void);
+int __connman_device_init(const char *device, const char *nodevice);
void __connman_device_cleanup(void);
void __connman_device_list(DBusMessageIter *iter, void *user_data);
enum connman_service_type __connman_device_get_service_type(struct connman_device *device);
+struct connman_device *__connman_device_find_device(enum connman_service_type type);
+int __connman_device_request_scan(enum connman_service_type type);
+int __connman_device_enable_technology(enum connman_service_type type);
+int __connman_device_disable_technology(enum connman_service_type type);
+
+connman_bool_t __connman_device_isfiltered(const char *devname);
int __connman_device_get_phyindex(struct connman_device *device);
void __connman_device_set_phyindex(struct connman_device *device,