gwenhywfar  5.14.1
Macros | Functions
endpoint.c File Reference
#include "msgio/endpoint_p.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/text.h>
Include dependency graph for endpoint.c:

Go to the source code of this file.

Macros

#define GWEN_MSG_ENDPOINT_DEFAULT_MSGSIZE   1024
 

Functions

void GWEN_MsgEndpoint_AddFlags (GWEN_MSG_ENDPOINT *ep, uint32_t f)
 
void GWEN_MsgEndpoint_AddReceivedMessage (GWEN_MSG_ENDPOINT *ep, GWEN_MSG *m)
 
void GWEN_MsgEndpoint_AddSendMessage (GWEN_MSG_ENDPOINT *ep, GWEN_MSG *m)
 
void GWEN_MsgEndpoint_AddSockets (GWEN_MSG_ENDPOINT *ep, GWEN_SOCKETSET *readSet, GWEN_SOCKETSET *writeSet, GWEN_SOCKETSET *xSet)
 
void GWEN_MsgEndpoint_Attach (GWEN_MSG_ENDPOINT *ep)
 
void GWEN_MsgEndpoint_CheckSockets (GWEN_MSG_ENDPOINT *ep, GWEN_SOCKETSET *readSet, GWEN_SOCKETSET *writeSet, GWEN_SOCKETSET *xSet)
 
void GWEN_MsgEndpoint_ChildrenAddSockets (GWEN_MSG_ENDPOINT *ep, GWEN_SOCKETSET *readSet, GWEN_SOCKETSET *writeSet, GWEN_SOCKETSET *xSet)
 
void GWEN_MsgEndpoint_ChildrenCheckSockets (GWEN_MSG_ENDPOINT *ep, GWEN_SOCKETSET *readSet, GWEN_SOCKETSET *writeSet, GWEN_SOCKETSET *xSet)
 
void GWEN_MsgEndpoint_ChildrenIoLoop (GWEN_MSG_ENDPOINT *ep, int timeout)
 
void GWEN_MsgEndpoint_DelFlags (GWEN_MSG_ENDPOINT *ep, uint32_t f)
 
int GWEN_MsgEndpoint_DiscardInput (GWEN_MSG_ENDPOINT *ep)
 
void GWEN_MsgEndpoint_Disconnect (GWEN_MSG_ENDPOINT *ep)
 
void GWEN_MsgEndpoint_free (GWEN_MSG_ENDPOINT *ep)
 
GWEN_MSGGWEN_MsgEndpoint_GetCurrentlyReceivedMsg (const GWEN_MSG_ENDPOINT *ep)
 
int GWEN_MsgEndpoint_GetDefaultMessageSize (const GWEN_MSG_ENDPOINT *ep)
 
GWEN_MSGGWEN_MsgEndpoint_GetFirstReceivedMessage (const GWEN_MSG_ENDPOINT *ep)
 
GWEN_MSGGWEN_MsgEndpoint_GetFirstSendMessage (const GWEN_MSG_ENDPOINT *ep)
 
uint32_t GWEN_MsgEndpoint_GetFlags (const GWEN_MSG_ENDPOINT *ep)
 
int GWEN_MsgEndpoint_GetGroupId (const GWEN_MSG_ENDPOINT *ep)
 
const char * GWEN_MsgEndpoint_GetName (const GWEN_MSG_ENDPOINT *ep)
 
uint32_t GWEN_MsgEndpoint_GetNextMessageId (GWEN_MSG_ENDPOINT *ep)
 
GWEN_MSG_LISTGWEN_MsgEndpoint_GetReceivedMessageList (const GWEN_MSG_ENDPOINT *ep)
 
GWEN_MSG_LISTGWEN_MsgEndpoint_GetSendMessageList (const GWEN_MSG_ENDPOINT *ep)
 
GWEN_SOCKETGWEN_MsgEndpoint_GetSocket (const GWEN_MSG_ENDPOINT *ep)
 
int GWEN_MsgEndpoint_GetState (const GWEN_MSG_ENDPOINT *ep)
 
time_t GWEN_MsgEndpoint_GetTimeOfLastStateChange (const GWEN_MSG_ENDPOINT *ep)
 
int GWEN_MsgEndpoint_HaveMessageToSend (const GWEN_MSG_ENDPOINT *ep)
 
void GWEN_MsgEndpoint_IoLoop (GWEN_MSG_ENDPOINT *ep, int timeout)
 
GWEN_MSG_ENDPOINTGWEN_MsgEndpoint_new (const char *name, int groupId)
 
int GWEN_MsgEndpoint_ReadFromSocket (GWEN_MSG_ENDPOINT *ep, uint8_t *bufferPtr, uint32_t bufferLen)
 
void GWEN_MsgEndpoint_RemoveUnconnectedAndEmptyChildren (GWEN_MSG_ENDPOINT *ep)
 
GWEN_MSG_ENDPOINT_ADDSOCKETS_FN GWEN_MsgEndpoint_SetAddSocketsFn (GWEN_MSG_ENDPOINT *ep, GWEN_MSG_ENDPOINT_ADDSOCKETS_FN fn)
 
GWEN_MSG_ENDPOINT_CHECKSOCKETS_FN GWEN_MsgEndpoint_SetCheckSocketsFn (GWEN_MSG_ENDPOINT *ep, GWEN_MSG_ENDPOINT_CHECKSOCKETS_FN fn)
 
void GWEN_MsgEndpoint_SetCurrentlyReceivedMsg (GWEN_MSG_ENDPOINT *ep, GWEN_MSG *m)
 
void GWEN_MsgEndpoint_SetDefaultMessageSize (GWEN_MSG_ENDPOINT *ep, int i)
 
void GWEN_MsgEndpoint_SetFlags (GWEN_MSG_ENDPOINT *ep, uint32_t f)
 
void GWEN_MsgEndpoint_SetSocket (GWEN_MSG_ENDPOINT *ep, GWEN_SOCKET *sk)
 
void GWEN_MsgEndpoint_SetState (GWEN_MSG_ENDPOINT *ep, int m)
 
GWEN_MSGGWEN_MsgEndpoint_TakeFirstReceivedMessage (GWEN_MSG_ENDPOINT *ep)
 
int GWEN_MsgEndpoint_WriteToSocket (GWEN_MSG_ENDPOINT *ep, const uint8_t *bufferPtr, uint32_t bufferLen)
 

Macro Definition Documentation

◆ GWEN_MSG_ENDPOINT_DEFAULT_MSGSIZE

#define GWEN_MSG_ENDPOINT_DEFAULT_MSGSIZE   1024

Definition at line 22 of file endpoint.c.

Referenced by GWEN_MsgEndpoint_new().