YAMI4 Core
option_names.h
1 // Copyright Maciej Sobczak 2008-2020.
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 #ifndef YAMICORE_OPTION_NAMES_H_INCLUDED
18 #define YAMICORE_OPTION_NAMES_H_INCLUDED
19 
20 #include "dll.h"
21 
22 namespace yami
23 {
24 
25 namespace core
26 {
27 
28 namespace option_names
29 {
30 
31 DLL const char tcp_listen_backlog[] = "tcp_listen_backlog";
32 DLL const char tcp_reuseaddr[] = "tcp_reuseaddr";
33 DLL const char tcp_nonblocking[] = "tcp_nonblocking";
34 DLL const char tcp_connect_timeout[] = "tcp_connect_timeout";
35 DLL const char tcp_nodelay[] = "tcp_nodelay";
36 DLL const char tcp_keepalive[] = "tcp_keepalive";
37 DLL const char tcp_frame_size[] = "tcp_frame_size";
38 DLL const char udp_frame_size[] = "udp_frame_size";
39 #ifdef YAMI4_WITH_NETX
40 // ThreadX with NetX:
41 DLL const char udp_checksum_enable[] = "udp_checksum_enable";
42 #else
43 // POSIX and Windows:
44 DLL const char unix_listen_backlog[] = "unix_listen_backlog";
45 DLL const char unix_nonblocking[] = "unix_nonblocking";
46 DLL const char unix_frame_size[] = "unix_frame_size";
47 DLL const char file_nonblocking[] = "file_nonblocking";
48 DLL const char file_frame_size[] = "file_frame_size";
49 #endif // YAMI4_WITH_NETX
50 
51 #ifdef YAMI4_WITH_QNX
52 DLL const char qnx_frame_size[] = "qnx_frame_size";
53 #endif // YAMI4_WITH_QNX
54 
55 #ifdef YAMI4_WITH_OPEN_SSL
56 DLL const char ssl_certificate_file[] = "ssl_certificate_file";
57 DLL const char ssl_private_key_file[] = "ssl_private_key_file";
58 #endif // YAMI4_WITH_OPEN_SSL
59 
60 } // namespace option_names
61 
62 } // namespace core
63 
64 } // namespace yami
65 
66 #endif // YAMICORE_OPTION_NAMES_H_INCLUDED
Namespace devoted for everything related to YAMI4.
Definition: agent.h:29