summaryrefslogtreecommitdiff
path: root/include/common/common_define_internal.h
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-02-13 13:24:16 (GMT)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-05-16 09:14:43 (GMT)
commit16dd30cb7b9c86bc5744ff170f45683d5c76ac0c (patch)
treee6fb1088b0287ae88e3a44c0ff7fc22478b87611 /include/common/common_define_internal.h
parentbe41cb5bbf3b00430c1fff05f36c69fe3a56e127 (diff)
downloadoma-ds-agent-16dd30cb7b9c86bc5744ff170f45683d5c76ac0c.zip
oma-ds-agent-16dd30cb7b9c86bc5744ff170f45683d5c76ac0c.tar.gz
oma-ds-agent-16dd30cb7b9c86bc5744ff170f45683d5c76ac0c.tar.bz2
Bug-Tizen: PTREL-271 Change-Id: I65b0d09ba91e9d072358d50950f31bd31c22c143 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Diffstat (limited to 'include/common/common_define_internal.h')
-rwxr-xr-xinclude/common/common_define_internal.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/common/common_define_internal.h b/include/common/common_define_internal.h
index 7187d27..e07e9d1 100755
--- a/include/common/common_define_internal.h
+++ b/include/common/common_define_internal.h
@@ -29,6 +29,9 @@
#include <glib.h>
#include <string.h>
+/* For multi-user support */
+#include <tzplatform_config.h>
+
/* #define COMMUNICATION_TYPE SYNC_AGENT_PB_ENCODING_XML */
#define COMMUNICATION_TYPE SYNC_AGENT_PB_ENCODING_WBXML_12
@@ -43,8 +46,8 @@
#define DEFINE_PLATFORM 1
#define LOW_BATTERY_LEVEL 10
-#define OMA_DS_MSG_PATH "/opt/usr/data/oma-ds/debug_msg"
-#define OMA_DS_CSC_CHECK_PATH "/opt/usr/data/oma-ds/csc_check"
+#define OMA_DS_MSG_PATH tzplatform_mkpath3(TZ_USER_DATA, "oma-ds", "debug_msg")
+#define OMA_DS_CSC_CHECK_PATH tzplatform_mkpath3(TZ_USER_DATA, "oma-ds", "csc_check")
#define ELEMENT_TEXT_VCARD "text/x-vcard"
#define ELEMENT_TEXT_VCARD_30 "text/vcard"