Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_con
Modified Files:
Ecore_Con.h
Log Message:
hidden symbol support
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/Ecore_Con.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Ecore_Con.h 22 Oct 2004 03:41:47 -0000 1.4
+++ Ecore_Con.h 25 Nov 2004 05:17:16 -0000 1.5
@@ -1,6 +1,23 @@
#ifndef _ECORE_CON_H
#define _ECORE_CON_H
+#ifdef EAPI
+#undef EAPI
+#endif
+#ifdef WIN32
+# ifdef BUILDING_DLL
+# define EAPI __declspec(dllexport)
+# else
+# define EAPI __declspec(dllimport)
+# endif
+#else
+# ifdef GCC_HASCLASSVISIBILITY
+# define EAPI __attribute__ ((visibility("default")))
+# else
+# define EAPI
+# endif
+#endif
+
/**
* @file Ecore_Con.h
* @brief Sockets functions.
@@ -99,24 +116,24 @@
extern int ECORE_CON_EVENT_CLIENT_DATA;
extern int ECORE_CON_EVENT_SERVER_DATA;
- int ecore_con_init(void);
- int ecore_con_shutdown(void);
+ EAPI int ecore_con_init(void);
+ EAPI int ecore_con_shutdown(void);
- Ecore_Con_Server *ecore_con_server_add(Ecore_Con_Type type, char *name, int
port, const void *data);
+ EAPI Ecore_Con_Server *ecore_con_server_add(Ecore_Con_Type type, char
*name, int port, const void *data);
- Ecore_Con_Server *ecore_con_server_connect(Ecore_Con_Type type, char *name,
int port, const void *data);
- void *ecore_con_server_del(Ecore_Con_Server *svr);
- void *ecore_con_server_data_get(Ecore_Con_Server *svr);
- int ecore_con_server_connected_get(Ecore_Con_Server *svr);
- int ecore_con_server_send(Ecore_Con_Server *svr, void *data,
int size);
-
- int ecore_con_client_send(Ecore_Con_Client *cl, void *data,
int size);
- Ecore_Con_Server *ecore_con_client_server_get(Ecore_Con_Client *cl);
- void *ecore_con_client_del(Ecore_Con_Client *cl);
- void ecore_con_client_data_set(Ecore_Con_Client *cl, const
void *data);
- void *ecore_con_client_data_get(Ecore_Con_Client *cl);
+ EAPI Ecore_Con_Server *ecore_con_server_connect(Ecore_Con_Type type, char
*name, int port, const void *data);
+ EAPI void *ecore_con_server_del(Ecore_Con_Server *svr);
+ EAPI void *ecore_con_server_data_get(Ecore_Con_Server *svr);
+ EAPI int ecore_con_server_connected_get(Ecore_Con_Server
*svr);
+ EAPI int ecore_con_server_send(Ecore_Con_Server *svr, void
*data, int size);
+
+ EAPI int ecore_con_client_send(Ecore_Con_Client *cl, void
*data, int size);
+ EAPI Ecore_Con_Server *ecore_con_client_server_get(Ecore_Con_Client *cl);
+ EAPI void *ecore_con_client_del(Ecore_Con_Client *cl);
+ EAPI void ecore_con_client_data_set(Ecore_Con_Client *cl,
const void *data);
+ EAPI void *ecore_con_client_data_get(Ecore_Con_Client *cl);
- int ecore_con_ssl_available_get(void);
+ EAPI int ecore_con_ssl_available_get(void);
#ifdef __cplusplus
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs