e_info_server: change internal module hook api name
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 23 May 2017 06:50:50 +0000 (15:50 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Fri, 26 May 2017 05:11:50 +0000 (14:11 +0900)
Change-Id: I3891db0375e3b781b7ca223b7d0731e25f44b515

src/bin/e_info_server.c

index c863e58cdfe1a327460ae798d6b4c5ef14e8911a..df8451b123d9ffe7f32dc855425e5a8a58807cc8 100644 (file)
@@ -1773,7 +1773,7 @@ _e_info_server_cb_keymap_info_get(const Eldbus_Service_Interface *iface EINA_UNU
 }
 
 static void
-_e_info_server_hook_call(const char *module_name, const char *log_path)
+_e_info_server_module_hook_call(const char *module_name, const char *log_path)
 {
    Eina_List *l;
    E_Info_Hook *data;
@@ -1788,6 +1788,7 @@ _e_info_server_hook_call(const char *module_name, const char *log_path)
      }
 }
 
+/* a hook with given name(module_name) is defined by plug-in modules*/
 E_API void
 e_info_server_hook_set(const char *module_name, E_Info_Hook_Cb func, void *data)
 {
@@ -1837,7 +1838,7 @@ _e_info_server_cb_module_info_get(const Eldbus_Service_Interface *iface EINA_UNU
         return reply;
      }
 
-   _e_info_server_hook_call(module_name, path);
+   _e_info_server_module_hook_call(module_name, path);
 
    return reply;
 }
@@ -1854,7 +1855,7 @@ _e_info_server_cb_keygrab_status_get(const Eldbus_Service_Interface *iface EINA_
         return reply;
      }
 
-   _e_info_server_hook_call("keygrab", path);
+   _e_info_server_module_hook_call("keygrab", path);
 
    return reply;
 }