summaryrefslogtreecommitdiff
path: root/src/lib/ecore_ipc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_ipc')
-rw-r--r--src/lib/ecore_ipc/Ecore_Ipc.h6
-rw-r--r--src/lib/ecore_ipc/ecore_ipc.c2
-rw-r--r--src/lib/ecore_ipc/ecore_ipc_private.h8
3 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore_ipc/Ecore_Ipc.h b/src/lib/ecore_ipc/Ecore_Ipc.h
index 5da43c7639..6881141cf6 100644
--- a/src/lib/ecore_ipc/Ecore_Ipc.h
+++ b/src/lib/ecore_ipc/Ecore_Ipc.h
@@ -133,7 +133,7 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v) EINA_DEPRECATED
133 p->v = (char *)ptr; \ 133 p->v = (char *)ptr; \
134 ptr += strlen(p->v) + 1; \ 134 ptr += strlen(p->v) + 1; \
135 } \ 135 } \
136 } 136 }
137#define ECORE_IPC_PUTS(v, l)\ 137#define ECORE_IPC_PUTS(v, l)\
138 { \ 138 { \
139 strcpy((char *)ptr, p->v); \ 139 strcpy((char *)ptr, p->v); \
@@ -234,7 +234,7 @@ typedef enum _Ecore_Ipc_Type
234 ECORE_IPC_USE_SSL = (1 << 4), 234 ECORE_IPC_USE_SSL = (1 << 4),
235 ECORE_IPC_NO_PROXY = (1 << 5) 235 ECORE_IPC_NO_PROXY = (1 << 5)
236} Ecore_Ipc_Type; 236} Ecore_Ipc_Type;
237 237
238typedef struct _Ecore_Ipc_Event_Client_Add Ecore_Ipc_Event_Client_Add; 238typedef struct _Ecore_Ipc_Event_Client_Add Ecore_Ipc_Event_Client_Add;
239typedef struct _Ecore_Ipc_Event_Client_Del Ecore_Ipc_Event_Client_Del; 239typedef struct _Ecore_Ipc_Event_Client_Del Ecore_Ipc_Event_Client_Del;
240typedef struct _Ecore_Ipc_Event_Server_Add Ecore_Ipc_Event_Server_Add; 240typedef struct _Ecore_Ipc_Event_Server_Add Ecore_Ipc_Event_Server_Add;
@@ -318,7 +318,7 @@ struct _Ecore_Ipc_Event_Server_Data
318 void *data; /**< The message data */ 318 void *data; /**< The message data */
319 int size; /**< The data length (in bytes) */ 319 int size; /**< The data length (in bytes) */
320}; 320};
321 321
322EAPI extern int ECORE_IPC_EVENT_CLIENT_ADD; 322EAPI extern int ECORE_IPC_EVENT_CLIENT_ADD;
323EAPI extern int ECORE_IPC_EVENT_CLIENT_DEL; 323EAPI extern int ECORE_IPC_EVENT_CLIENT_DEL;
324EAPI extern int ECORE_IPC_EVENT_SERVER_ADD; 324EAPI extern int ECORE_IPC_EVENT_SERVER_ADD;
diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c
index bd4d76bc65..c21cbcc965 100644
--- a/src/lib/ecore_ipc/ecore_ipc.c
+++ b/src/lib/ecore_ipc/ecore_ipc.c
@@ -277,7 +277,7 @@ ecore_ipc_post_event_client_del(Ecore_Ipc_Client *cl)
277 Ecore_Ipc_Event_Client_Del *ev; 277 Ecore_Ipc_Event_Client_Del *ev;
278 278
279 if (cl->delete_me) return; 279 if (cl->delete_me) return;
280 280
281 cl->delete_me = EINA_TRUE; 281 cl->delete_me = EINA_TRUE;
282 282
283 ev = calloc(1, sizeof(Ecore_Ipc_Event_Client_Del)); 283 ev = calloc(1, sizeof(Ecore_Ipc_Event_Client_Del));
diff --git a/src/lib/ecore_ipc/ecore_ipc_private.h b/src/lib/ecore_ipc/ecore_ipc_private.h
index c964acd733..b918f3dd64 100644
--- a/src/lib/ecore_ipc/ecore_ipc_private.h
+++ b/src/lib/ecore_ipc/ecore_ipc_private.h
@@ -79,15 +79,15 @@ struct _Ecore_Ipc_Client
79 unsigned char *buf; 79 unsigned char *buf;
80 int buf_size; 80 int buf_size;
81 int max_buf_size; 81 int max_buf_size;
82 82
83 struct { 83 struct {
84 Ecore_Ipc_Msg_Head i, o; 84 Ecore_Ipc_Msg_Head i, o;
85 } prev; 85 } prev;
86 86
87 int event_count; 87 int event_count;
88 Eina_Bool delete_me : 1; 88 Eina_Bool delete_me : 1;
89}; 89};
90 90
91struct _Ecore_Ipc_Server 91struct _Ecore_Ipc_Server
92{ 92{
93 ECORE_MAGIC; 93 ECORE_MAGIC;
@@ -112,7 +112,7 @@ struct _Ecore_Ipc_Server
112 struct { 112 struct {
113 Ecore_Ipc_Msg_Head i, o; 113 Ecore_Ipc_Msg_Head i, o;
114 } prev; 114 } prev;
115 115
116 int event_count; 116 int event_count;
117 Eina_Bool delete_me : 1; 117 Eina_Bool delete_me : 1;
118}; 118};