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:09:01 +0000 (14:09 +0900)
Change-Id: I3891db0375e3b781b7ca223b7d0731e25f44b515

src/bin/e_info_server.c

index d75e4286fab41e9a409a0e12d011681fe980ebf8..0b401b9b0f04b9db809bbe551a3ae1eca7848933 100644 (file)
@@ -1776,7 +1776,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;
@@ -1791,6 +1791,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)
 {
@@ -1840,7 +1841,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;
 }
@@ -1857,7 +1858,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;
 }