Rename internal function 82/209582/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 9 Jul 2019 05:29:42 +0000 (14:29 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 9 Jul 2019 05:29:42 +0000 (14:29 +0900)
Change-Id: I4976bc2a2ac526527ee66d78ba8629554148f9ed
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/autofill-daemon.c

index 2e496d8..b20029d 100644 (file)
@@ -183,7 +183,7 @@ static void __remove_client(rpc_port_stub_AutofillAppPort_context_h context)
     }
 }
 
-static void __message_create(rpc_port_stub_AutofillAppPort_context_h context,
+static void __client_create(rpc_port_stub_AutofillAppPort_context_h context,
         void *user_data)
 {
     LOGD("");
@@ -197,7 +197,7 @@ static void __message_create(rpc_port_stub_AutofillAppPort_context_h context,
     free(sender);
 }
 
-static void __message_terminate(rpc_port_stub_AutofillAppPort_context_h context,
+static void __client_terminate(rpc_port_stub_AutofillAppPort_context_h context,
         void *user_data)
 {
     LOGD("");
@@ -213,7 +213,7 @@ static void __message_terminate(rpc_port_stub_AutofillAppPort_context_h context,
     __remove_client(context);
 }
 
-static int __message_register(rpc_port_stub_AutofillAppPort_context_h context,
+static int __client_register(rpc_port_stub_AutofillAppPort_context_h context,
                               int context_id,
                               rpc_port_AutofillAppPort_autofill_auth_info_received_cb_h auth_info_cb,
                               rpc_port_AutofillAppPort_autofill_fill_response_received_cb_h fill_response_received_cb,
@@ -243,7 +243,7 @@ static int __message_register(rpc_port_stub_AutofillAppPort_context_h context,
     return 0;
 }
 
-static void __message_unregister(rpc_port_stub_AutofillAppPort_context_h context, int context_id, void *user_data)
+static void __client_unregister(rpc_port_stub_AutofillAppPort_context_h context, int context_id, void *user_data)
 {
     __remove_client(context);
 }
@@ -928,10 +928,10 @@ bool service_app_create(void *data)
     int ret;
     // register app port
     rpc_port_stub_AutofillAppPort_callback_s callback = {
-        __message_create,
-        __message_terminate,
-        __message_register,
-        __message_unregister,
+        __client_create,
+        __client_terminate,
+        __client_register,
+        __client_unregister,
         __auth_info_request_cb,
         __autofill_fill_request_cb,
         __commit_cb,