1 // Copyright Maciej Sobczak 2008-2019.
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 DLL const char unix_listen_backlog[] =  "unix_listen_backlog";
40 DLL const char unix_nonblocking[] =     "unix_nonblocking";
41 DLL const char unix_frame_size[] =      "unix_frame_size";
42 DLL const char file_nonblocking[] =     "file_nonblocking";
43 DLL const char file_frame_size[] =      "file_frame_size";
44 
45 #ifdef YAMI4_WITH_QNX
46 DLL const char qnx_frame_size[] =       "qnx_frame_size";
47 #endif // YAMI4_WITH_QNX
48 
49 #ifdef YAMI4_WITH_OPEN_SSL
50 DLL const char ssl_certificate_file[] = "ssl_certificate_file";
51 DLL const char ssl_private_key_file[] = "ssl_private_key_file";
52 #endif // YAMI4_WITH_OPEN_SSL
53 
54 } // namespace option_names
55 
56 } // namespace core
57 
58 } // namespace yami
59 
60 #endif // YAMICORE_OPTION_NAMES_H_INCLUDED
61