CoreDX DDS C Reference Manual
coredx_lmt_transport.h
Go to the documentation of this file.
1 /*****************************************************************
2  *
3  * file: coredx_lmt_transport.h
4  * desc: This file provides the CoreDX DDS Transport API.
5  * This API provides mechanisms for users to extend
6  * CoreDX DDS with custom transport implementations.
7  *
8  *****************************************************************
9  *
10  * Copyright(C) 2006-2016 Twin Oaks Computing, Inc
11  * All rights reserved. Castle Rock, CO 80108
12  *
13  *****************************************************************
14  *
15  * This software has been provided pursuant to a License Agreement
16  * containing restrictions on its use. This software contains
17  * valuable trade secrets and proprietary information of
18  * Twin Oaks Computing, Inc and is protected by law. It may not be
19  * copied or distributed in any form or medium, disclosed to third
20  * parties, reverse engineered or used in any manner not provided
21  * for in said License Agreement except with the prior written
22  * authorization from Twin Oaks Computing, Inc.
23  *
24  *****************************************************************/
25 #ifndef _COREDX_LMT_TRANSPORT_H
26 #define _COREDX_LMT_TRANSPORT_H
27 
28 #include <dds/coredx_transport.h>
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 # if defined(__linux__)
35 # define COREDX_HAS_LMT_TRANSPORT 1
36 # endif
37 
56  typedef struct CoreDX_LmtTransportConfig {
57  int so_sndbuf;
58  int so_rcvbuf;
59  unsigned int max_tx_size;
60  unsigned int max_rx_buf_size;
61  unsigned int debug_flags;
63 
64 # define COREDX_LMT_TRANSPORT_CONFIG_DEFAULT NULL
65 
70  COREDX_C_ADD_API DDS_ReturnCode_t CoreDX_LmtTransport_get_default_config( CoreDX_LmtTransportConfig * config );
77  COREDX_C_ADD_API DDS_ReturnCode_t CoreDX_LmtTransport_get_env_config ( CoreDX_LmtTransportConfig * config );
81  COREDX_C_ADD_API DDS_ReturnCode_t CoreDX_LmtTransport_clear_config ( CoreDX_LmtTransportConfig * config );
89  COREDX_C_ADD_API CoreDX_Transport * CoreDX_LmtTransport_create_transport ( CoreDX_LmtTransportConfig * config );
90 
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 #endif
96 
unsigned int max_tx_size
Definition: coredx_lmt_transport.h:59
int DDS_ReturnCode_t
Definition: dds_types.h:56
int so_sndbuf
Definition: coredx_lmt_transport.h:57
unsigned int max_rx_buf_size
Definition: coredx_lmt_transport.h:60
unsigned int debug_flags
Definition: coredx_lmt_transport.h:61
int so_rcvbuf
Definition: coredx_lmt_transport.h:58
Structure that holds LMT Transport configuration items.
Definition: coredx_lmt_transport.h:56

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