libgdbus: Move common gdbus interfaces to libsystem package
[platform/core/system/storaged.git] / apps / extended-sd / include / dbus-call.h
index fcc3659..ffc6cb1 100644 (file)
 
 #include <glib.h>
 #include <gio/gio.h>
-#include "dbus_macro.h"
 #include "extended-sd-main.h"
 
 #define DBUS_REPLY_TIMEOUT     (-1)
 
+#define STORAGED_BUS_NAME                    "org.tizen.system.storage"
+#define STORAGED_OBJECT_PATH                 "/Org/Tizen/System/Storage"
+#define STORAGED_INTERFACE_NAME              STORAGED_BUS_NAME
+
+#define STORAGED_PATH_BLOCK                  STORAGED_OBJECT_PATH"/Block"
+#define STORAGED_PATH_BLOCK_MANAGER          STORAGED_PATH_BLOCK"/Manager"
+#define STORAGED_INTERFACE_BLOCK_MANAGER     STORAGED_INTERFACE_NAME".BlockManager"
+
+#define VIEWTYPE_KEY                        "viewtype"
+#define DEVPATH_KEY                         "dev_path"
+#define MAPPING_NODE_KEY                    "mapping_node"
+#define SDCARD_SETUP_TYPE                   "_SDCARD_SETUP_TYPE_"
+
 struct dbus_int {
        int *list;
        int size;
@@ -46,9 +58,6 @@ int dbus_method_async_with_reply(const char *dest, const char *path,
                const char *interface, const char *method,
                const char *sig, char *param[], dbus_pending_cb cb, int timeout, void *data);
 
-int register_signal_handler(appdata_s *);
-int unregister_signal_handler(void);
-
 /**
  * If result is NULL, err is set.
  * Do not invoke g_variant_unref() with result.