Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_ipc Modified Files: ecore_ipc.c Log Message: warnings - hush. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_ipc/ecore_ipc.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- ecore_ipc.c 23 Sep 2005 06:28:05 -0000 1.23 +++ ecore_ipc.c 6 Jan 2006 18:26:37 -0000 1.24 @@ -29,7 +29,7 @@ #define DLT_R2 15 /* byte swappers - for dealing with big vs little endian machines */ -unsigned short +EAPI unsigned short _ecore_ipc_swap_16(unsigned short v) { unsigned char *s, t; @@ -39,7 +39,7 @@ return v; } -unsigned int +EAPI unsigned int _ecore_ipc_swap_32(unsigned int v) { unsigned char *s, t; @@ -50,7 +50,7 @@ return v; } -unsigned long long +EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v) { unsigned char *s, t; @@ -220,12 +220,12 @@ static void _ecore_ipc_event_client_data_free(void *data, void *ev); static void _ecore_ipc_event_server_data_free(void *data, void *ev); -int ECORE_IPC_EVENT_CLIENT_ADD = 0; -int ECORE_IPC_EVENT_CLIENT_DEL = 0; -int ECORE_IPC_EVENT_SERVER_ADD = 0; -int ECORE_IPC_EVENT_SERVER_DEL = 0; -int ECORE_IPC_EVENT_CLIENT_DATA = 0; -int ECORE_IPC_EVENT_SERVER_DATA = 0; +EAPI int ECORE_IPC_EVENT_CLIENT_ADD = 0; +EAPI int ECORE_IPC_EVENT_CLIENT_DEL = 0; +EAPI int ECORE_IPC_EVENT_SERVER_ADD = 0; +EAPI int ECORE_IPC_EVENT_SERVER_DEL = 0; +EAPI int ECORE_IPC_EVENT_CLIENT_DATA = 0; +EAPI int ECORE_IPC_EVENT_SERVER_DATA = 0; static int init_count = 0; static Ecore_Ipc_Server *servers = NULL; @@ -243,7 +243,7 @@ * being shut down. * @ingroup Ecore_IPC_Library_Group */ -int +EAPI int ecore_ipc_init(void) { int i = 0; @@ -280,7 +280,7 @@ * shut down. * @ingroup Ecore_IPC_Library_Group */ -int +EAPI int ecore_ipc_shutdown(void) { int i; @@ -317,7 +317,7 @@ * @ingroup Ecore_IPC_Server_Group * @todo Need to add protocol type parameter to this function. */ -Ecore_Ipc_Server * +EAPI Ecore_Ipc_Server * ecore_ipc_server_add(Ecore_Ipc_Type compl_type, const char *name, int port, const void *data) { Ecore_Ipc_Server *svr; @@ -372,7 +372,7 @@ * @ingroup Ecore_IPC_Server_Group * @todo Need to add protocol type parameter. */ -Ecore_Ipc_Server * +EAPI Ecore_Ipc_Server * ecore_ipc_server_connect(Ecore_Ipc_Type compl_type, char *name, int port, const void *data) { Ecore_Ipc_Server *svr; @@ -416,7 +416,7 @@ * @return The data associated with the server when it was created. * @ingroup Ecore_IPC_Server_Group */ -void * +EAPI void * ecore_ipc_server_del(Ecore_Ipc_Server *svr) { void *data; @@ -443,7 +443,7 @@ * @return The associated data. * @ingroup Ecore_IPC_Server_Group */ -void * +EAPI void * ecore_ipc_server_data_get(Ecore_Ipc_Server *svr) { if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_IPC_SERVER)) @@ -461,7 +461,7 @@ * @return @c 1 if the server is connected. @c 0 otherwise. * @ingroup Ecore_IPC_Server_Group */ -int +EAPI int ecore_ipc_server_connected_get(Ecore_Ipc_Server *svr) { if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_IPC_SERVER)) @@ -524,7 +524,7 @@ * @todo This function needs to become an IPC message. * @todo Fix up the documentation: Make sure what ref_to and response are. */ -int +EAPI int ecore_ipc_server_send(Ecore_Ipc_Server *svr, int major, int minor, int ref, int ref_to, int response, void *data, int size) { Ecore_Ipc_Msg_Head msg; @@ -588,7 +588,7 @@ * lower). * @ingroup Ecore_Ipc_Server_Group */ -void +EAPI void ecore_ipc_server_client_limit_set(Ecore_Ipc_Server *svr, int client_limit, char reject_excess_clients) { if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_IPC_SERVER)) @@ -654,7 +654,7 @@ * @todo This function needs to become an IPC message. * @todo Make sure ref_to and response parameters are described correctly. */ -int +EAPI int ecore_ipc_client_send(Ecore_Ipc_Client *cl, int major, int minor, int ref, int ref_to, int response, void *data, int size) { Ecore_Ipc_Msg_Head msg; @@ -702,7 +702,7 @@ * @return The IPC server the IPC client is connected to. * @ingroup Ecore_IPC_Client_Group */ -Ecore_Ipc_Server * +EAPI Ecore_Ipc_Server * ecore_ipc_client_server_get(Ecore_Ipc_Client *cl) { if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_IPC_CLIENT)) @@ -721,7 +721,7 @@ * @return Data associated with the client. * @ingroup Ecore_IPC_Client_Group */ -void * +EAPI void * ecore_ipc_client_del(Ecore_Ipc_Client *cl) { void *data; @@ -749,7 +749,7 @@ * @param data The data to associate with the IPC client. * @ingroup Ecore_IPC_Client_Group */ -void +EAPI void ecore_ipc_client_data_set(Ecore_Ipc_Client *cl, const void *data) { if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_IPC_CLIENT)) @@ -767,7 +767,7 @@ * @return The data associated with the IPC client. * @ingroup Ecore_IPC_Client_Group */ -void * +EAPI void * ecore_ipc_client_data_get(Ecore_Ipc_Client *cl) { if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_IPC_CLIENT)) @@ -784,7 +784,7 @@ * @return 1 if SSL is available, 0 if it is not. * @ingroup Ecore_Con_Client_Group */ -int +EAPI int ecore_ipc_ssl_available_get(void) { return ecore_con_ssl_available_get(); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs