YAMI4Industry
options.h
Go to the documentation of this file.
1 /* Copyright Inspirel Sp. z o.o. 2013-2015.
2  * This file is part of YAMI4.
3  *
4  * YAMI4 is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * YAMI4 is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with YAMI4. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef YAMI4INDUSTRY_OPTIONS_H
19 #define YAMI4INDUSTRY_OPTIONS_H
20 
21 #include <stdint.h>
22 
23 #ifdef __cplusplus
24 extern "C"
25 {
26 #endif /* __cplusplus */
27 
31 {
33  int32_t tcp_reuseaddr;
34  int32_t tcp_nonblocking;
36  int32_t tcp_nodelay;
37  int32_t tcp_keepalive;
38 };
39 
44 void yami_options_init(struct yami_options * self);
45 
46 #ifdef __cplusplus
47 }
48 #endif /* __cplusplus */
49 
50 #endif /* YAMI4INDUSTRY_OPTIONS_H */
Definition: options.h:30
int32_t tcp_keepalive
Definition: options.h:37
int32_t tcp_reuseaddr
Definition: options.h:33
int32_t tcp_listen_backlog
Definition: options.h:32
int32_t tcp_nodelay
Definition: options.h:36
void yami_options_init(struct yami_options *self)
Definition: options.c:20
int32_t tcp_connect_timeout
Definition: options.h:35
int32_t tcp_nonblocking
Definition: options.h:34