summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2017-09-27 13:57:41 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2017-09-27 13:57:41 +0900
commitbf97ef2897f7b5b66982ec597ded07ab8fefbe29 (patch)
tree142c62fc3c7ab465ce83ae2676c1170e864f3f54 /tool
parent5a82f45226b145cf51c1e9f155df522a1a29bb8c (diff)
downloadaul-1-bf97ef2897f7b5b66982ec597ded07ab8fefbe29.tar.gz
aul-1-bf97ef2897f7b5b66982ec597ded07ab8fefbe29.tar.bz2
aul-1-bf97ef2897f7b5b66982ec597ded07ab8fefbe29.zip
Adjust function name
Change-Id: Ib44c9de6125c68b9562353dc1f9933948722460f Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'tool')
-rw-r--r--tool/app_com_tool.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tool/app_com_tool.c b/tool/app_com_tool.c
index 9e9a65b8..05c0f7bc 100644
--- a/tool/app_com_tool.c
+++ b/tool/app_com_tool.c
@@ -25,7 +25,7 @@ static int __handler(const char *endpoint, aul_app_com_result_e result, bundle
return 0;
}
-static void create(const char *endpoint, const char *privilege)
+static void __create(const char *endpoint, const char *privilege)
{
aul_app_com_permission_h permission = NULL;
@@ -41,13 +41,13 @@ static void create(const char *endpoint, const char *privilege)
aul_app_com_permission_destroy(permission);
}
-static void join(const char *endpoint, const char *filter)
+static void __join(const char *endpoint, const char *filter)
{
int ret = aul_app_com_join(endpoint, filter, __handler, NULL, &conn);
printf("ret: %d\n", ret);
}
-static void send(const char *endpoint)
+static void __send(const char *endpoint)
{
int idx = 2;
int ret;
@@ -73,21 +73,21 @@ static gboolean run_func(void *data)
if (g_strcmp0(gargv[1], "create") == 0) {
if (gargc == 3)
- create(gargv[2], NULL);
+ __create(gargv[2], NULL);
else if (gargc == 4)
- create(gargv[2], gargv[3]);
+ __create(gargv[2], gargv[3]);
}
if (g_strcmp0(gargv[1], "join") == 0) {
if (gargc == 3)
- join(gargv[2], NULL);
+ __join(gargv[2], NULL);
else if (gargc == 4)
- join(gargv[2], gargv[3]);
+ __join(gargv[2], gargv[3]);
}
if (g_strcmp0(gargv[1], "send") == 0) {
if (gargc > 4)
- send(gargv[2]);
+ __send(gargv[2]);
}
return FALSE;