dtls.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2019 HAW Hamburg
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
36 #include "modules.h"
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
45 #ifndef CONFIG_DTLS_PEER_MAX
46 #if IS_USED(MODULE_GCOAP_DTLS)
47 #define CONFIG_DTLS_PEER_MAX (2)
48 #else
49 #define CONFIG_DTLS_PEER_MAX (1)
50 #endif
51 #endif
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
Common macros and compiler attributes/pragmas configuration.