Adjust function name 56/152756/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 27 Sep 2017 04:57:41 +0000 (13:57 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 27 Sep 2017 04:57:41 +0000 (13:57 +0900)
Change-Id: Ib44c9de6125c68b9562353dc1f9933948722460f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tool/app_com_tool.c

index 9e9a65b..05c0f7b 100644 (file)
@@ -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;