|
gwenhywfar 5.14.1
|
#include <gwenhywfar/endpoint.h>#include <time.h>
Go to the source code of this file.
Typedefs | |
| typedef GWEN_MSG_ENDPOINT *(* | GWEN_ENDPOINT_TCPD_ACCEPT_FN) (GWEN_MSG_ENDPOINT *ep, GWEN_SOCKET *sk, const GWEN_INETADDRESS *addr, void *data) |
Functions | |
| GWENHYWFAR_API GWEN_MSG_ENDPOINT * | GWEN_TcpdEndpoint_new (const char *host, int port, const char *name, int groupId) |
| GWENHYWFAR_API void | GWEN_TcpdEndpoint_SetAcceptFn (GWEN_MSG_ENDPOINT *ep, GWEN_ENDPOINT_TCPD_ACCEPT_FN f, void *data) |
| typedef GWEN_MSG_ENDPOINT *(* GWEN_ENDPOINT_TCPD_ACCEPT_FN) (GWEN_MSG_ENDPOINT *ep, GWEN_SOCKET *sk, const GWEN_INETADDRESS *addr, void *data) |
Definition at line 24 of file endpoint_tcpd.h.
| GWENHYWFAR_API GWEN_MSG_ENDPOINT * GWEN_TcpdEndpoint_new | ( | const char * | host, |
| int | port, | ||
| const char * | name, | ||
| int | groupId ) |
Definition at line 57 of file endpoint_tcpd.c.
References _addSockets(), _checkSockets(), _freeData(), GWEN_INHERIT_SETDATA, GWEN_MSG_ENDPOINT_STATE_UNCONNECTED, GWEN_MSG_ENDPOINT_TCPD_NAME, GWEN_MsgEndpoint_new(), GWEN_MsgEndpoint_SetAddSocketsFn(), GWEN_MsgEndpoint_SetCheckSocketsFn(), GWEN_MsgEndpoint_SetState(), GWEN_NEW_OBJECT, GWEN_TcpdEndpoint_new(), and NULL.
Referenced by GWEN_TcpdEndpoint_new().


| GWENHYWFAR_API void GWEN_TcpdEndpoint_SetAcceptFn | ( | GWEN_MSG_ENDPOINT * | ep, |
| GWEN_ENDPOINT_TCPD_ACCEPT_FN | f, | ||
| void * | data ) |
Definition at line 90 of file endpoint_tcpd.c.
References GWEN_INHERIT_GETDATA.