Embedded TCP/IP stack: fnet_tls_config.h Source File

FNET

fnet_tls_config.h
1 /**************************************************************************
2 *
3 * Copyright 2015-2016 by Andrey Butok. FNET Community.
4 *
5 ***************************************************************************
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
8 * not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 ***************************************************************************
20 *
21 * FNET TLS library configuration file.
22 *
23 ***************************************************************************/
24 
25 /**************************************************************************
26  * !!!DO NOT MODIFY THIS FILE!!!
27  **************************************************************************/
28 
29 #ifndef _FNET_TLS_CONFIG_H_
30 
31 #define _FNET_TLS_CONFIG_H_
32 
36 /**************************************************************************/
45 #ifndef FNET_CFG_TLS
46  #define FNET_CFG_TLS (0)
47 #endif
48 
49 /**************************************************************************/
55 #ifndef FNET_CFG_TLS_SOCKET_MAX
56  #define FNET_CFG_TLS_SOCKET_MAX (3u)
57 #endif
58 
61 #ifdef FNET_CFG_TLS_MAX
62  #error "FNET_CFG_TLS_MAX parameter is obsolete. Use FNET_CFG_TLS."
63 #endif
64 
65 #endif /* _FNET_TLS_CONFIG_H_ */

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net