X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fdbus.h;h=3f8dbadce1e7e3e7635da089d708c6bbaaced05f;hb=c223c7fbca163f55eabe75af145c513137593eb5;hp=73bda69365bee23eff834951da2b761ce57757c6;hpb=d76088a3c6104f2569279086752a3f3cf1ea6adc;p=framework%2Fconnectivity%2Fconnman.git diff --git a/include/dbus.h b/include/dbus.h index 73bda69..3f8dbad 100644 --- a/include/dbus.h +++ b/include/dbus.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2010 Intel Corporation. All rights reserved. + * Copyright (C) 2007-2012 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -28,21 +28,27 @@ extern "C" { #endif -#define CONNMAN_SERVICE "org.moblin.connman" +#define CONNMAN_SERVICE "net.connman" +#define CONNMAN_PATH "/net/connman" #define CONNMAN_DEBUG_INTERFACE CONNMAN_SERVICE ".Debug" #define CONNMAN_ERROR_INTERFACE CONNMAN_SERVICE ".Error" #define CONNMAN_AGENT_INTERFACE CONNMAN_SERVICE ".Agent" +#define CONNMAN_COUNTER_INTERFACE CONNMAN_SERVICE ".Counter" #define CONNMAN_MANAGER_INTERFACE CONNMAN_SERVICE ".Manager" #define CONNMAN_MANAGER_PATH "/" +#define CONNMAN_CLOCK_INTERFACE CONNMAN_SERVICE ".Clock" #define CONNMAN_TASK_INTERFACE CONNMAN_SERVICE ".Task" -#define CONNMAN_PROFILE_INTERFACE CONNMAN_SERVICE ".Profile" #define CONNMAN_SERVICE_INTERFACE CONNMAN_SERVICE ".Service" -#define CONNMAN_DEVICE_INTERFACE CONNMAN_SERVICE ".Device" -#define CONNMAN_NETWORK_INTERFACE CONNMAN_SERVICE ".Network" #define CONNMAN_PROVIDER_INTERFACE CONNMAN_SERVICE ".Provider" +#define CONNMAN_TECHNOLOGY_INTERFACE CONNMAN_SERVICE ".Technology" +#define CONNMAN_SESSION_INTERFACE CONNMAN_SERVICE ".Session" +#define CONNMAN_NOTIFICATION_INTERFACE CONNMAN_SERVICE ".Notification" + +#define CONNMAN_PRIVILEGE_MODIFY 1 +#define CONNMAN_PRIVILEGE_SECRET 2 typedef void (* connman_dbus_append_cb_t) (DBusMessageIter *iter, void *user_data); @@ -69,6 +75,18 @@ dbus_bool_t connman_dbus_property_changed_array(const char *path, const char *interface, const char *key, int type, connman_dbus_append_cb_t function, void *user_data); +dbus_bool_t connman_dbus_setting_changed_basic(const char *owner, + const char *path, const char *key, + int type, void *val); +dbus_bool_t connman_dbus_setting_changed_dict(const char *owner, + const char *path, const char *key, + connman_dbus_append_cb_t function, + void *user_data); +dbus_bool_t connman_dbus_setting_changed_array(const char *owner, + const char *path, const char *key, int type, + connman_dbus_append_cb_t function, + void *user_data); + static inline void connman_dbus_dict_open(DBusMessageIter *iter, DBusMessageIter *dict) {