mmi_ipc_init/shutdown -> mmi_ipc_initialize/deinitialize
Change-Id: Ie4bdb6186fe6952d3ab46f16340a0790806f6170
return MMI_ERROR_OUT_OF_MEMORY;
}
- if (mmi_ipc_init()) {
+ if (mmi_ipc_initialize()) {
LOGE("Failed to init mmi ipc !\n");
if(mmi_h != NULL) {
free(mmi_h);
return MMI_ERROR_NONE;
}
- mmi_ipc_shutdown();
+ mmi_ipc_deinitialize();
GList *iter = NULL;
mmi_result_cb_s *data = NULL;
static const char* _stub_appid = "mmi-manager";
static int _connected = 0;
-rpc_port_proxy_mmi_h
-mmi_ipc_get_rpc_h(void)
+rpc_port_proxy_mmi_h mmi_ipc_get_rpc_h(void)
{
return _rpc_h;
}
-
-bool
-mmi_ipc_is_connected(void)
+bool mmi_ipc_is_connected(void)
{
return _connected ? true : false;
}
-const char *
-mmi_ipc_get_stub_appid(void)
+const char * mmi_ipc_get_stub_appid(void)
{
return _stub_appid;
}
_connected = 0;
}
-int
-mmi_ipc_init(void)
+int mmi_ipc_initialize(void)
{
/* initialize handles */
_rpc_h = NULL;
return -1;
}
-void
-mmi_ipc_shutdown(void)
+void mmi_ipc_deinitialize(void)
{
if (!_rpc_h)
return;
extern "C" {
#endif
-int mmi_ipc_init(void);
-void mmi_ipc_shutdown(void);
+int mmi_ipc_initialize(void);
+void mmi_ipc_deinitialize(void);
rpc_port_proxy_mmi_h mmi_ipc_get_rpc_h(void);
int mmi_ipc_get_uid(void);