1 /*
2  * libcoap configure implementation for ESP32 platform.
3  *
4  * Uses libcoap software implementation for failover when concurrent
5  * configure operations are in use.
6  *
7  * coap.h -- main header file for CoAP stack of libcoap
8  *
9  * Copyright (C) 2010-2012,2015-2016 Olaf Bergmann <bergmann@tzi.org>
10  *               2015 Carsten Schoenert <c.schoenert@t-online.de>
11  *
12  * Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
13  *
14  * This file is part of the CoAP library libcoap. Please see README for terms
15  * of use.
16  */
17 
18 #ifndef _CONFIG_H_
19 #define _CONFIG_H_
20 
21 /* Always enabled in ESP-IDF */
22 #ifndef WITH_POSIX
23 #define WITH_POSIX
24 #endif
25 
26 #include "coap_config_posix.h"
27 
28 #define HAVE_STDIO_H
29 #define HAVE_ASSERT_H
30 
31 #define PACKAGE_STRING PACKAGE_NAME PACKAGE_VERSION
32 
33 /* it's just provided by libc. i hope we don't get too many of those, as
34  * actually we'd need autotools again to find out what environment we're
35  * building in */
36 #define HAVE_STRNLEN 1
37 
38 #define HAVE_LIMITS_H
39 
40 #define COAP_RESOURCES_NOHASH
41 
42 #endif /* _CONFIG_H_ */
43