gwenhywfar 5.11.2beta
endpoint_tcpc.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_TCPC_H
10#define GWEN_MSG_ENDPOINT_TCPC_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
24GWENHYWFAR_API GWEN_MSG_ENDPOINT *GWEN_TcpcEndpoint_new(const char *host, int port, const char *name, int groupId);
25
27
28
29#ifdef __cplusplus
30}
31#endif
32
33
34#endif
35
36
struct GWEN_MSG_ENDPOINT GWEN_MSG_ENDPOINT
Object which can send and receive messages (base class).
Definition endpoint.h:37
GWENHYWFAR_API int GWEN_TcpcEndpoint_StartConnect(GWEN_MSG_ENDPOINT *ep)
GWENHYWFAR_API GWEN_MSG_ENDPOINT * GWEN_TcpcEndpoint_new(const char *host, int port, const char *name, int groupId)
#define GWENHYWFAR_API