gwenhywfar 5.12.0
endpoint_msgio.h
Go to the documentation of this file.
1/****************************************************************************
2 * This file is part of the project Gwenhywfar.
3 * Gwenhywfar (c) by 2023 Martin Preuss, all rights reserved.
4 *
5 * The license for this file can be found in the file COPYING which you
6 * should have received along with this file.
7 ****************************************************************************/
8
9#ifndef GWEN_MSG_ENDPOINT_MSGIO_H
10#define GWEN_MSG_ENDPOINT_MSGIO_H
11
12
13#include <gwenhywfar/endpoint.h>
14
15#include <time.h>
16
17
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23
34
35
38
39
48
50
53
54
55#ifdef __cplusplus
56}
57#endif
58
59
60#endif
61
62
struct GWEN_MSG_ENDPOINT GWEN_MSG_ENDPOINT
Object which can send and receive messages (base class).
Definition: endpoint.h:37
int(* GWEN_ENDPOINT_MSGIO_SENDMSGSTART_FN)(GWEN_MSG_ENDPOINT *ep, GWEN_MSG *msg)
void(* GWEN_ENDPOINT_MSGIO_SENDMSGFINISH_FN)(GWEN_MSG_ENDPOINT *ep, GWEN_MSG *msg)
GWENHYWFAR_API void GWEN_MsgIoEndpoint_Extend(GWEN_MSG_ENDPOINT *ep)
GWENHYWFAR_API void GWEN_MsgIoEndpoint_SetGetNeededBytesFn(GWEN_MSG_ENDPOINT *ep, GWEN_ENDPOINT_MSGIO_GETBYTESNEEDED_FN f)
GWENHYWFAR_API void GWEN_MsgIoEndpoint_SetSendMsgStartFn(GWEN_MSG_ENDPOINT *ep, GWEN_ENDPOINT_MSGIO_SENDMSGSTART_FN f)
GWENHYWFAR_API void GWEN_MsgIoEndpoint_SetSendMsgFinishFn(GWEN_MSG_ENDPOINT *ep, GWEN_ENDPOINT_MSGIO_SENDMSGFINISH_FN f)
int(* GWEN_ENDPOINT_MSGIO_GETBYTESNEEDED_FN)(GWEN_MSG_ENDPOINT *ep, GWEN_MSG *msg)
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:67
struct GWEN_MSG GWEN_MSG
Definition: msg.h:24