Add dbus_handle_method_async_pairs_with_reply
[platform/core/system/libsyscommon.git] / src / libgdbus / dbus-system.h
old mode 100644 (file)
new mode 100755 (executable)
index 42f2f8f..9553be5
 #define DEVICED_INTERFACE_SDE               DEVICED_INTERFACE_NAME".sde"
 #define DEVICED_PATH_ODE                    DEVICED_OBJECT_PATH"/Ode"
 #define DEVICED_INTERFACE_ODE               DEVICED_INTERFACE_NAME".ode"
-/* Lowmem service: get critical low status operations about Lowmem */
-#define DEVICED_PATH_LOWMEM                 DEVICED_OBJECT_PATH"/Lowmem"
-#define DEVICED_INTERFACE_LOWMEM            DEVICED_INTERFACE_NAME".lowmem"
 /* Poweroff service: get power off status operations about Poweroff */
 #define DEVICED_PATH_POWEROFF               DEVICED_OBJECT_PATH"/PowerOff"
 #define DEVICED_INTERFACE_POWEROFF          DEVICED_INTERFACE_NAME".PowerOff"
 /* Led service: play/stop led operations about led */
 #define DEVICED_PATH_LED                    DEVICED_OBJECT_PATH"/Led"
 #define DEVICED_INTERFACE_LED               DEVICED_INTERFACE_NAME".Led"
-/* MMC service: mount/unmount/format mmc operations about mmc */
-#define DEVICED_PATH_MMC                    DEVICED_OBJECT_PATH"/Mmc"
-#define DEVICED_INTERFACE_MMC               DEVICED_INTERFACE_NAME".Mmc"
 /* Process service: operations about process */
 #define DEVICED_PATH_PROCESS                DEVICED_OBJECT_PATH"/Process"
 #define DEVICED_INTERFACE_PROCESS           DEVICED_INTERFACE_NAME".Process"
@@ -374,9 +368,11 @@ int dbus_handle_method_sync_timeout(const char *dest, const char *path,
 int dbus_handle_method_sync_pairs(const char *dest, const char *path,
                const char *interface, const char *method,
                int num, va_list args);
+
 int dbus_handle_method_async_pairs(const char *dest, const char *path,
                const char *interface, const char *method,
                int num, va_list args);
+
 int dbus_handle_method_async(const char *dest, const char *path,
                const char *interface, const char *method,
                const char *sig, const char *param[]);
@@ -405,6 +401,16 @@ int dbus_handle_method_async_with_reply_var(const char *dest,
                int timeout_msec,
                void *data);
 
+int dbus_handle_method_async_pairs_with_reply(const char *dest,
+               const char *path,
+               const char *iface,
+               const char *method,
+               int num,
+               va_list args,
+               dbus_pending_cb cb,
+               int timeout_msec,
+               void *data);
+
 int check_systemd_active(void);
 
 /**
@@ -490,8 +496,7 @@ int dbus_handle_get_sender_pid(dbus_handle_h handle, const char * sender);
 int dbus_handle_get_sender_credentials(dbus_handle_h handle, const char *name, GDBusCredentials *creds);
 int dbus_handle_watch_name(const char *name, GBusNameAppearedCallback name_appeared_handler, GBusNameVanishedCallback name_vanished_handler, void *user_data, GDestroyNotify user_data_free_func);
 void dbus_handle_unwatch_name(guint id);
-dbus_handle_h dbus_handle_init(GBusType type, const char* bus_name, GBusNameAcquiredCallback acquired_handler, GBusNameLostCallback lost_handler);
 char** dbus_handle_get_owner_list(dbus_handle_h handle, const char *bus_name);
-void dbush_handle_check_owner_name(dbus_handle_h handle, const char *owner_name);
+void dbus_handle_check_owner_name(dbus_handle_h handle, const char *owner_name);
 
 #endif