summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_ipc/ecore_ipc_private.h
blob: d9b514c829f92e154fb43de91f79a5d9080613ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _ECORE_IPC_PRIVATE_H
#define _ECORE_IPC_PRIVATE_H

#define ECORE_MAGIC_IPC_SERVER             0x87786556
#define ECORE_MAGIC_IPC_CLIENT             0x78875665

typedef struct _Ecore_Ipc_Client Ecore_Ipc_Client;
typedef struct _Ecore_Ipc_Server Ecore_Ipc_Server;
   
struct _Ecore_Ipc_Client
{
   Ecore_List        __list_data;
   ECORE_MAGIC;
   Ecore_Con_Client  *client;
   void              *data;
   unsigned char     *buf;
   int                buf_size;
};
   
struct _Ecore_Ipc_Server
{
   Ecore_List        __list_data;
   ECORE_MAGIC;
   Ecore_Con_Server *server;
   Ecore_Ipc_Client *clients;
   void              *data;
   unsigned char     *buf;
   int                buf_size;
};

#endif