summaryrefslogtreecommitdiff
path: root/src/lib/ecore_ipc/ecore_ipc_private.h
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-23 22:35:48 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-23 22:35:48 -0200
commit9805f4ec36cf329159a974737d7f37c6204ee671 (patch)
tree866198fd4a81d58754230839d5ea9b639d692266 /src/lib/ecore_ipc/ecore_ipc_private.h
parent400f3932d9a5adb3bc6c360368793a855d5228d8 (diff)
ecore_ipc: isolate legacy within ifdefs.
Compile out the legacy code when running on platforms that support Efl.Net.Dialer.Unix and Efl.Net.Server.Unix.
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_ipc/ecore_ipc_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_ipc/ecore_ipc_private.h b/src/lib/ecore_ipc/ecore_ipc_private.h
index baf71fd788..8df059417a 100644
--- a/src/lib/ecore_ipc/ecore_ipc_private.h
+++ b/src/lib/ecore_ipc/ecore_ipc_private.h
@@ -74,7 +74,11 @@ struct _Ecore_Ipc_Client
74 Eo *send_copier; 74 Eo *send_copier;
75 } socket; 75 } socket;
76 76
77#ifndef EFL_NET_SERVER_UNIX_CLASS
78 /* legacy until Windows and others have their local socket */
77 Ecore_Con_Client *client; 79 Ecore_Con_Client *client;
80#endif
81
78 Ecore_Ipc_Server *svr; 82 Ecore_Ipc_Server *svr;
79 void *data; 83 void *data;
80 unsigned char *buf; 84 unsigned char *buf;
@@ -103,7 +107,10 @@ struct _Ecore_Ipc_Server
103 107
104 Eo *server; 108 Eo *server;
105 109
110#ifndef EFL_NET_SERVER_UNIX_CLASS
106 Ecore_Con_Server *legacy_server; 111 Ecore_Con_Server *legacy_server;
112#endif
113
107 Eina_List *clients; 114 Eina_List *clients;
108 void *data; 115 void *data;
109 unsigned char *buf; 116 unsigned char *buf;