diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-12-19 13:11:20 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-19 13:11:20 -0800 |
commit | e45a1a34604973498c3fa509c44913b20fd1d9ec (patch) | |
tree | 403df2172506f95a36e8d7780eb9045194f125e9 /src/connman.h | |
parent | 9f5ea5e9358a92b1d9c013ce22145dce267d8090 (diff) | |
download | connman-e45a1a34604973498c3fa509c44913b20fd1d9ec.tar.gz connman-e45a1a34604973498c3fa509c44913b20fd1d9ec.tar.bz2 connman-e45a1a34604973498c3fa509c44913b20fd1d9ec.zip |
Add user data to D-Bus helper function callbacks
Diffstat (limited to 'src/connman.h')
-rw-r--r-- | src/connman.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/connman.h b/src/connman.h index 6f9debc2..a391236c 100644 --- a/src/connman.h +++ b/src/connman.h @@ -78,8 +78,8 @@ int __connman_agent_request_passphrase(struct connman_service *service, int __connman_log_init(const char *debug, connman_bool_t detach); void __connman_log_cleanup(void); -void __connman_debug_list_available(DBusMessageIter *iter); -void __connman_debug_list_enabled(DBusMessageIter *iter); +void __connman_debug_list_available(DBusMessageIter *iter, void *user_data); +void __connman_debug_list_enabled(DBusMessageIter *iter, void *user_data); #include <connman/option.h> @@ -268,7 +268,7 @@ void __connman_udev_enable_rfkill_processing(void); int __connman_device_init(void); void __connman_device_cleanup(void); -void __connman_device_list(DBusMessageIter *iter); +void __connman_device_list(DBusMessageIter *iter, void *user_data); enum connman_service_type __connman_device_get_service_type(struct connman_device *device); @@ -335,7 +335,7 @@ connman_bool_t __connman_profile_get_offlinemode(void); int __connman_profile_set_offlinemode(connman_bool_t offlinemode); int __connman_profile_save_default(void); -void __connman_profile_list(DBusMessageIter *iter); +void __connman_profile_list(DBusMessageIter *iter, void *user_data); const char *__connman_profile_active_ident(void); const char *__connman_profile_active_path(void); @@ -356,7 +356,7 @@ int __connman_profile_remove_network(struct connman_network *network); int __connman_service_init(void); void __connman_service_cleanup(void); -void __connman_service_list(DBusMessageIter *iter); +void __connman_service_list(DBusMessageIter *iter, void *user_data); const char *__connman_service_default(void); void __connman_service_put(struct connman_service *service); @@ -384,7 +384,7 @@ const char *__connman_service_type2string(enum connman_service_type type); #include <connman/provider.h> -void __connman_provider_list(DBusMessageIter *iter); +void __connman_provider_list(DBusMessageIter *iter, void *user_data); int __connman_provider_create_and_connect(DBusMessage *msg); int __connman_provider_indicate_state(struct connman_provider *provider, enum connman_provider_state state); @@ -399,9 +399,9 @@ int __connman_provider_init(void); int __connman_notifier_init(void); void __connman_notifier_cleanup(void); -void __connman_notifier_list_registered(DBusMessageIter *iter); -void __connman_notifier_list_enabled(DBusMessageIter *iter); -void __connman_notifier_list_connected(DBusMessageIter *iter); +void __connman_notifier_list_registered(DBusMessageIter *iter, void *user_data); +void __connman_notifier_list_enabled(DBusMessageIter *iter, void *user_data); +void __connman_notifier_list_connected(DBusMessageIter *iter, void *user_data); void __connman_notifier_register(enum connman_service_type type); void __connman_notifier_unregister(enum connman_service_type type); |