#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;
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.