diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-08-29 22:28:32 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-08-29 22:28:32 -0700 |
commit | 29ff3552e43a2fe58a1e49ca469ff50932146509 (patch) | |
tree | a9257ecdc40c32af5c63ca7743d48143f5c9b63d /src/connman.h | |
parent | b2b6bdad0116ca1c42a72b6cc60a5268e61ff219 (diff) | |
download | connman-29ff3552e43a2fe58a1e49ca469ff50932146509.tar.gz connman-29ff3552e43a2fe58a1e49ca469ff50932146509.tar.bz2 connman-29ff3552e43a2fe58a1e49ca469ff50932146509.zip |
Remove all the useless D-Bus connection passing
Diffstat (limited to 'src/connman.h')
-rw-r--r-- | src/connman.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/connman.h b/src/connman.h index 83922014..af11c29e 100644 --- a/src/connman.h +++ b/src/connman.h @@ -55,10 +55,10 @@ int __connman_selftest(void); #include <connman/types.h> -int __connman_manager_init(DBusConnection *conn, gboolean compat); +int __connman_manager_init(gboolean compat); void __connman_manager_cleanup(void); -int __connman_agent_init(DBusConnection *conn); +int __connman_agent_init(void); void __connman_agent_cleanup(void); int __connman_agent_register(const char *sender, const char *path); @@ -170,8 +170,7 @@ void __connman_driver_rescan(struct connman_driver *driver); #include <connman/element.h> -int __connman_element_init(DBusConnection *conn, const char *device, - const char *nodevice); +int __connman_element_init(const char *device, const char *nodevice); void __connman_element_start(void); void __connman_element_stop(void); void __connman_element_cleanup(void); @@ -286,7 +285,7 @@ connman_bool_t __connman_network_get_weakness(struct connman_network *network); #include <connman/profile.h> -int __connman_profile_init(DBusConnection *conn); +int __connman_profile_init(); void __connman_profile_cleanup(void); connman_bool_t __connman_profile_get_offlinemode(void); |