21#include <gwenhywfar/debug.h>
24#define GWEN_MSG_ENDPOINT_IPC_NAME "ipc"
64 return (
int) (msgSize-bytesInMsg);
#define DBG_DEBUG(dbg_logger, format,...)
GWEN_MSG_ENDPOINT * GWEN_MsgEndpoint_new(const char *name, int groupId)
void GWEN_MsgEndpoint_SetSocket(GWEN_MSG_ENDPOINT *ep, GWEN_SOCKET *sk)
struct GWEN_MSG_ENDPOINT GWEN_MSG_ENDPOINT
Object which can send and receive messages (base class).
void GWEN_IpcEndpoint_Extend(GWEN_MSG_ENDPOINT *ep)
GWEN_MSG_ENDPOINT * GWEN_IpcEndpoint_CreateIpcTcpServiceForSocket(GWEN_SOCKET *sk, const char *name, int groupId)
GWEN_MSG_ENDPOINT * GWEN_IpcEndpoint_CreateIpcTcpClient(const char *host, int port, const char *name, int groupId)
#define GWEN_MSG_ENDPOINT_IPC_NAME
static int _getBytesNeededForMessage(GWEN_MSG_ENDPOINT *ep, GWEN_MSG *msg)
void GWEN_MsgIoEndpoint_Extend(GWEN_MSG_ENDPOINT *ep)
void GWEN_MsgIoEndpoint_SetGetNeededBytesFn(GWEN_MSG_ENDPOINT *ep, GWEN_ENDPOINT_MSGIO_GETBYTESNEEDED_FN f)
GWEN_MSG_ENDPOINT * GWEN_TcpcEndpoint_new(const char *host, int port, const char *name, int groupId)
struct GWEN_SOCKET GWEN_SOCKET
uint32_t GWEN_Msg_GetBytesInBuffer(const GWEN_MSG *msg)
uint32_t GWEN_IpcMsg_GetMsgSize(const GWEN_MSG *msg)
#define GWEN_MSGIPC_OFFS_PAYLOAD