summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2014-03-18 16:32:25 +0900
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-03-18 01:19:19 -0700
commit19318d81a2d4fd4cddd3c3d1ce52911ce428219e (patch)
tree93a76fbb312795aedf0a01e369c2e5370f7813a0 /src
parent9b9315bfadc5764fabbf8c310db051dc30648fba (diff)
downloadapp-svc-19318d81a2d4fd4cddd3c3d1ce52911ce428219e.tar.gz
app-svc-19318d81a2d4fd4cddd3c3d1ce52911ce428219e.tar.bz2
app-svc-19318d81a2d4fd4cddd3c3d1ce52911ce428219e.zip
Add multi-user support.
Bug-Tizen: PTREL-326 Change-Id: I32f7eb47038da59972896a007c7247bdc55e4ba5 Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/appsvc_db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/appsvc_db.c b/src/appsvc_db.c
index 4cc184b..08fd5bd 100755
--- a/src/appsvc_db.c
+++ b/src/appsvc_db.c
@@ -24,13 +24,13 @@
#include <string.h>
#include <stdlib.h>
#include <glib.h>
+#include <tzplatform_config.h>
#include "appsvc_db.h"
#include "internal.h"
-
-#define SVC_DB_PATH "/opt/dbspace/.appsvc.db"
-#define APP_INFO_DB_PATH "/opt/dbspace/.app_info.db"
+#define SVC_DB_PATH tzplatform_mkpath(TZ_SYS_DB, ".appsvc.db")
+#define APP_INFO_DB_PATH tzplatform_mkpath(TZ_SYS_DB, ".app_info.db")
#define QUERY_MAX_LEN 8192
#define URI_MAX_LEN 4096