YAMI4Industry
Main Page
Data Structures
Files
File List
Globals
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
30
struct
yami_options
31
{
32
int32_t
tcp_listen_backlog
;
33
int32_t
tcp_reuseaddr
;
34
int32_t
tcp_nonblocking
;
35
int32_t
tcp_connect_timeout
;
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 */
yami_options
Definition:
options.h:30
yami_options::tcp_keepalive
int32_t tcp_keepalive
Definition:
options.h:37
yami_options::tcp_reuseaddr
int32_t tcp_reuseaddr
Definition:
options.h:33
yami_options::tcp_listen_backlog
int32_t tcp_listen_backlog
Definition:
options.h:32
yami_options::tcp_nodelay
int32_t tcp_nodelay
Definition:
options.h:36
yami_options_init
void yami_options_init(struct yami_options *self)
Definition:
options.c:20
yami_options::tcp_connect_timeout
int32_t tcp_connect_timeout
Definition:
options.h:35
yami_options::tcp_nonblocking
int32_t tcp_nonblocking
Definition:
options.h:34
Generated on Tue Sep 8 2015 23:17:35 for YAMI4Industry by
1.8.8