1 /* 2 * coap.h -- main header file for CoAP stack of libcoap 3 * 4 * Copyright (C) 2010-2012,2015-2017 Olaf Bergmann <bergmann@tzi.org> 5 * 2015 Carsten Schoenert <c.schoenert@t-online.de> 6 * 7 * This file is part of the CoAP library libcoap. Please see README for terms 8 * of use. 9 */ 10 11 #ifndef COAP_H_ 12 #define COAP_H_ 13 14 /* Define the address where bug reports for libcoap should be sent. */ 15 #define LIBCOAP_PACKAGE_BUGREPORT "libcoap-developers@lists.sourceforge.net" 16 17 /* Define the full name of libcoap. */ 18 #define LIBCOAP_PACKAGE_NAME "libcoap" 19 20 /* Define the full name and version of libcoap. */ 21 #define LIBCOAP_PACKAGE_STRING "libcoap 4.2.1" 22 23 /* Define the home page for libcoap. */ 24 #define LIBCOAP_PACKAGE_URL "https://libcoap.net/" 25 26 /* Define the version of libcoap this file belongs to. */ 27 #define LIBCOAP_PACKAGE_VERSION "4.2.1" 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 #include "libcoap.h" 34 35 #include "coap_forward_decls.h" 36 #include "address.h" 37 #include "async.h" 38 #include "bits.h" 39 #include "block.h" 40 #if defined(HAVE_LIBTINYDTLS) || defined(HAVE_OPENSSL) || defined(HAVE_LIBGNUTLS) 41 #include "coap_dtls.h" 42 #endif 43 #include "coap_event.h" 44 #include "coap_io.h" 45 #include "coap_time.h" 46 #include "coap_debug.h" 47 #include "encode.h" 48 #include "mem.h" 49 #include "net.h" 50 #include "option.h" 51 #include "pdu.h" 52 #include "prng.h" 53 #include "resource.h" 54 #include "str.h" 55 #include "subscribe.h" 56 #include "uri.h" 57 58 #ifdef __cplusplus 59 } 60 #endif 61 62 #endif /* COAP_H_ */ 63