CoreDX DDS C Reference Manual
coredx_tcp_transport.h
Go to the documentation of this file.
1 /*****************************************************************
2  *
3  * file: cdx_tcp_transport.h
4  * desc: This file provides the CoreDX DDS TCP Transport API.
5  *
6  *****************************************************************
7  *
8  * Copyright(C) 2006-2016 Twin Oaks Computing, Inc
9  * All rights reserved. Castle Rock, CO 80108
10  *
11  *****************************************************************
12  * This software has been provided pursuant to a License Agreement
13  * containing restrictions on its use. This software contains
14  * valuable trade secrets and proprietary information of
15  * Twin Oaks Computing, Inc and is protected by law. It may not be
16  * copied or distributed in any form or medium, disclosed to third
17  * parties, reverse engineered or used in any manner not provided
18  * for in said License Agreement except with the prior written
19  * authorization from Twin Oaks Computing, Inc.
20  *****************************************************************/
21 #ifndef _COREDX_TCP_TRANSPORT_H
22 #define _COREDX_TCP_TRANSPORT_H
23 
24 #include <dds/coredx_transport.h>
25 #include <dds/dds_seq.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 # if defined(__linux__) || defined(_WIN32) || defined(__MACH__)
32 # define COREDX_HAS_TCP_TRANSPORT 1
33 # endif
34 
54  typedef struct CoreDX_TcpTransportConfig {
58  CoreDX_IpTransportInterfaceSeq interfaces;
59  unsigned char dynamic_interfaces;
62  unsigned int debug_flags;
64 
65 # define COREDX_TCP_TRANSPORT_CONFIG_DEFAULT NULL
66 
73  COREDX_C_ADD_API DDS_ReturnCode_t CoreDX_TcpTransport_get_default_config( CoreDX_TcpTransportConfig * config );
81  COREDX_C_ADD_API DDS_ReturnCode_t CoreDX_TcpTransport_get_env_config ( CoreDX_TcpTransportConfig * config );
85  COREDX_C_ADD_API DDS_ReturnCode_t CoreDX_TcpTransport_clear_config ( CoreDX_TcpTransportConfig * config );
93  COREDX_C_ADD_API CoreDX_Transport * CoreDX_TcpTransport_create_transport ( CoreDX_TcpTransportConfig * config );
94 
95 
96 #ifdef __cplusplus
97 }
98 #endif
99 
100 #endif
Structure that holds TCP Transport configuration items.
Definition: coredx_tcp_transport.h:54
int DDS_ReturnCode_t
Definition: dds_types.h:56
unsigned int debug_flags
Definition: coredx_tcp_transport.h:62
unsigned char dynamic_interfaces
Definition: coredx_tcp_transport.h:59
CoreDX_IpTransportInterfaceSeq interfaces
Definition: coredx_tcp_transport.h:58
int tx_max_packet_size
Definition: coredx_tcp_transport.h:60
short participant_index
Definition: coredx_tcp_transport.h:55

© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.