summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-09-21 01:58:54 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-09-21 01:58:54 +0000
commit89e6e0d30dabc044aa62016d5fb7f6e99a8be8ce (patch)
treeecbdf13ff0da8aa0b4b923b4a11f2b470e1fdbc0
parentfdadea7eca81ee918f2c16997ab98a44bb7a9aa5 (diff)
ecore_ipc_server_connected_get -> Eina_Bool
SVN revision: 52526
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h2
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
index a4c6651ee0..e25f741035 100644
--- a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
+++ b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
@@ -294,7 +294,7 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
294 EAPI Ecore_Ipc_Server *ecore_ipc_server_connect(Ecore_Ipc_Type type, char *name, int port, const void *data); 294 EAPI Ecore_Ipc_Server *ecore_ipc_server_connect(Ecore_Ipc_Type type, char *name, int port, const void *data);
295 EAPI void *ecore_ipc_server_del(Ecore_Ipc_Server *svr); 295 EAPI void *ecore_ipc_server_del(Ecore_Ipc_Server *svr);
296 EAPI void *ecore_ipc_server_data_get(Ecore_Ipc_Server *svr); 296 EAPI void *ecore_ipc_server_data_get(Ecore_Ipc_Server *svr);
297 EAPI int ecore_ipc_server_connected_get(Ecore_Ipc_Server *svr); 297 EAPI Eina_Bool ecore_ipc_server_connected_get(Ecore_Ipc_Server *svr);
298 EAPI Eina_List *ecore_ipc_server_clients_get(Ecore_Ipc_Server *svr); 298 EAPI Eina_List *ecore_ipc_server_clients_get(Ecore_Ipc_Server *svr);
299 /* FIXME: this needs to become an ipc message */ 299 /* FIXME: this needs to become an ipc message */
300 EAPI int ecore_ipc_server_send(Ecore_Ipc_Server *svr, int major, int minor, int ref, int ref_to, int response, const void *data, int size); 300 EAPI int ecore_ipc_server_send(Ecore_Ipc_Server *svr, int major, int minor, int ref, int ref_to, int response, const void *data, int size);
diff --git a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
index 517509c02d..0ab5469423 100644
--- a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
+++ b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
@@ -494,17 +494,17 @@ ecore_ipc_server_data_get(Ecore_Ipc_Server *svr)
494/** 494/**
495 * Retrieves whether the given IPC server is currently connected. 495 * Retrieves whether the given IPC server is currently connected.
496 * @param svr The given IPC server. 496 * @param svr The given IPC server.
497 * @return @c 1 if the server is connected. @c 0 otherwise. 497 * @return #EINA_TRUE if the server is connected. #EINA_FALSE otherwise.
498 * @ingroup Ecore_IPC_Server_Group 498 * @ingroup Ecore_IPC_Server_Group
499 */ 499 */
500EAPI int 500EAPI Eina_Bool
501ecore_ipc_server_connected_get(Ecore_Ipc_Server *svr) 501ecore_ipc_server_connected_get(Ecore_Ipc_Server *svr)
502{ 502{
503 if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_IPC_SERVER)) 503 if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_IPC_SERVER))
504 { 504 {
505 ECORE_MAGIC_FAIL(svr, ECORE_MAGIC_IPC_SERVER, 505 ECORE_MAGIC_FAIL(svr, ECORE_MAGIC_IPC_SERVER,
506 "ecore_ipc_server_connected_get"); 506 "ecore_ipc_server_connected_get");
507 return 0; 507 return EINA_FALSE;
508 } 508 }
509 return ecore_con_server_connected_get(svr->server); 509 return ecore_con_server_connected_get(svr->server);
510} 510}