diff --git a/CMakeLists.txt b/CMakeLists.txt index 51885b95..322b27ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -484,30 +484,27 @@ target_sources( $<$:${CMAKE_CURRENT_LIST_DIR}/src/coap_mbedtls.c> # headers ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap.h + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/libcoap.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_address.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_async.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_cache.h + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/block.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_debug.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_dtls.h + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_encode.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_event.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_hashkey.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_io.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_option.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_prng.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_session.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_subscribe.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_time.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/block.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/encode.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/libcoap.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/mem.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/net.h + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_option.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/pdu.h + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_prng.h ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/resource.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/str.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/uri.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/uthash.h - ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/utlist.h) + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_session.h + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_str.h + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_subscribe.h + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_time.h + ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/uri.h) target_include_directories( ${COAP_LIBRARY_NAME} PUBLIC # config headers are generated during configuration time @@ -716,8 +713,6 @@ install( PATTERN "*.h" PATTERN "coap.h" EXCLUDE PATTERN "coap_riot.h" EXCLUDE - PATTERN "utlist.h" EXCLUDE - PATTERN "uthash.h" EXCLUDE PATTERN "*_internal.h" EXCLUDE) install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/ diff --git a/LICENSE b/LICENSE index 78d2c558..984da16a 100644 --- a/LICENSE +++ b/LICENSE @@ -51,7 +51,9 @@ uthash libcoap uses uthash.h and utlist.h from Troy D. Hanson (https://troydhanson.github.io/uthash/). These files use the revised BSD license (BSD-1-Clause license) as included in these two source -files. +files. These files are named coap_uthash_internal.h and +coap_utlist_internal.h respectively to make sure the correct versions +are included. ======================================================================== OpenSSL diff --git a/Makefile.am b/Makefile.am index 9a6232ec..30583431 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,18 +63,20 @@ EXTRA_DIST = \ include/coap$(LIBCOAP_API_VERSION)/coap_block_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap_cache_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap_dtls_internal.h \ + include/coap$(LIBCOAP_API_VERSION)/coap_hashkey_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap_io_internal.h \ + include/coap$(LIBCOAP_API_VERSION)/coap_mutex_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap_net_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap_pdu_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap_resource_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap_session_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap_subscribe_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap_tcp_internal.h \ + include/coap$(LIBCOAP_API_VERSION)/coap_uthash_internal.h \ + include/coap$(LIBCOAP_API_VERSION)/coap_utlist_internal.h \ include/coap$(LIBCOAP_API_VERSION)/coap.h.in \ include/coap$(LIBCOAP_API_VERSION)/coap.h.windows \ include/coap$(LIBCOAP_API_VERSION)/coap.h.windows.in \ - include/coap$(LIBCOAP_API_VERSION)/uthash.h \ - include/coap$(LIBCOAP_API_VERSION)/utlist.h \ src/coap_io_lwip.c \ src/coap_io_riot.c \ tests/test_error_response.h \ @@ -162,30 +164,28 @@ libcoap_includedir = $(includedir)/coap$(LIBCOAP_API_VERSION)/ # $(top_srcdir)/include/coap-$(LIBCOAP_API_VERSION)/* libcoap_include_HEADERS = \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/block.h \ $(top_builddir)/include/coap$(LIBCOAP_API_VERSION)/coap.h \ + $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/libcoap.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_address.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_async.h \ + $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/block.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_cache.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_debug.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_dtls.h \ + $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_encode.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_event.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_forward_decls.h \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_hashkey.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_io.h \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_mutex.h \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_option.h \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_session.h \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_subscribe.h \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_time.h \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/encode.h \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/libcoap.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/mem.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/net.h \ + $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_option.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/pdu.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_prng.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/resource.h \ - $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/str.h \ + $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_session.h \ + $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_str.h \ + $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_subscribe.h \ + $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/coap_time.h \ $(top_srcdir)/include/coap$(LIBCOAP_API_VERSION)/uri.h ## Instruct libtool to include API version information in the generated shared diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 401c49f3..b1affd11 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -904,8 +904,8 @@ RECURSIVE = NO EXCLUDE = @top_srcdir@/src/coap_io_lwip.c \ @top_srcdir@/src/coap_io_riot.c \ - @top_srcdir@/include/coap@LIBCOAP_API_VERSION@/uthash.h \ - @top_srcdir@/include/coap@LIBCOAP_API_VERSION@/utlist.h + @top_srcdir@/include/coap@LIBCOAP_API_VERSION@/coap_uthash_internal.h \ + @top_srcdir@/include/coap@LIBCOAP_API_VERSION@/coap_utlist_internal.h # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded diff --git a/include/coap3/block.h b/include/coap3/block.h index 2ede789e..52fa5e1f 100644 --- a/include/coap3/block.h +++ b/include/coap3/block.h @@ -18,7 +18,7 @@ #ifndef COAP_BLOCK_H_ #define COAP_BLOCK_H_ -#include "encode.h" +#include "coap_encode.h" #include "coap_option.h" #include "pdu.h" diff --git a/include/coap3/coap.h.in b/include/coap3/coap.h.in index 5d2d4731..1493ffee 100644 --- a/include/coap3/coap.h.in +++ b/include/coap3/coap.h.in @@ -38,24 +38,24 @@ extern "C" { #include "coap@LIBCOAP_API_VERSION@/libcoap.h" #include "coap@LIBCOAP_API_VERSION@/coap_forward_decls.h" -#include "coap@LIBCOAP_API_VERSION@/block.h" #include "coap@LIBCOAP_API_VERSION@/coap_address.h" #include "coap@LIBCOAP_API_VERSION@/coap_async.h" +#include "coap@LIBCOAP_API_VERSION@/block.h" #include "coap@LIBCOAP_API_VERSION@/coap_cache.h" #include "coap@LIBCOAP_API_VERSION@/coap_debug.h" #include "coap@LIBCOAP_API_VERSION@/coap_dtls.h" +#include "coap@LIBCOAP_API_VERSION@/coap_encode.h" #include "coap@LIBCOAP_API_VERSION@/coap_event.h" #include "coap@LIBCOAP_API_VERSION@/coap_io.h" -#include "coap@LIBCOAP_API_VERSION@/coap_prng.h" -#include "coap@LIBCOAP_API_VERSION@/coap_option.h" -#include "coap@LIBCOAP_API_VERSION@/coap_subscribe.h" -#include "coap@LIBCOAP_API_VERSION@/coap_time.h" -#include "coap@LIBCOAP_API_VERSION@/encode.h" #include "coap@LIBCOAP_API_VERSION@/mem.h" #include "coap@LIBCOAP_API_VERSION@/net.h" +#include "coap@LIBCOAP_API_VERSION@/coap_option.h" #include "coap@LIBCOAP_API_VERSION@/pdu.h" +#include "coap@LIBCOAP_API_VERSION@/coap_prng.h" #include "coap@LIBCOAP_API_VERSION@/resource.h" -#include "coap@LIBCOAP_API_VERSION@/str.h" +#include "coap@LIBCOAP_API_VERSION@/coap_str.h" +#include "coap@LIBCOAP_API_VERSION@/coap_subscribe.h" +#include "coap@LIBCOAP_API_VERSION@/coap_time.h" #include "coap@LIBCOAP_API_VERSION@/uri.h" #ifdef __cplusplus diff --git a/include/coap3/coap.h.windows b/include/coap3/coap.h.windows index ce6fb946..776bee6e 100644 --- a/include/coap3/coap.h.windows +++ b/include/coap3/coap.h.windows @@ -38,24 +38,24 @@ extern "C" { #include "coap3/libcoap.h" #include "coap3/coap_forward_decls.h" -#include "coap3/block.h" #include "coap3/coap_address.h" #include "coap3/coap_async.h" +#include "coap3/block.h" #include "coap3/coap_cache.h" #include "coap3/coap_debug.h" #include "coap3/coap_dtls.h" +#include "coap3/coap_encode.h" #include "coap3/coap_event.h" #include "coap3/coap_io.h" -#include "coap3/coap_option.h" -#include "coap3/coap_prng.h" -#include "coap3/coap_subscribe.h" -#include "coap3/coap_time.h" -#include "coap3/encode.h" #include "coap3/mem.h" #include "coap3/net.h" +#include "coap3/coap_option.h" #include "coap3/pdu.h" +#include "coap3/coap_prng.h" #include "coap3/resource.h" -#include "coap3/str.h" +#include "coap3/coap_subscribe.h" +#include "coap3/coap_time.h" +#include "coap3/coap_str.h" #include "coap3/uri.h" #ifdef __cplusplus diff --git a/include/coap3/coap.h.windows.in b/include/coap3/coap.h.windows.in index 5f72941c..bf180419 100644 --- a/include/coap3/coap.h.windows.in +++ b/include/coap3/coap.h.windows.in @@ -38,24 +38,24 @@ extern "C" { #include "coap@LIBCOAP_API_VERSION@/libcoap.h" #include "coap@LIBCOAP_API_VERSION@/coap_forward_decls.h" -#include "coap@LIBCOAP_API_VERSION@/block.h" #include "coap@LIBCOAP_API_VERSION@/coap_address.h" #include "coap@LIBCOAP_API_VERSION@/coap_async.h" +#include "coap@LIBCOAP_API_VERSION@/block.h" #include "coap@LIBCOAP_API_VERSION@/coap_cache.h" #include "coap@LIBCOAP_API_VERSION@/coap_debug.h" #include "coap@LIBCOAP_API_VERSION@/coap_dtls.h" +#include "coap@LIBCOAP_API_VERSION@/coap_encode.h" #include "coap@LIBCOAP_API_VERSION@/coap_event.h" #include "coap@LIBCOAP_API_VERSION@/coap_io.h" -#include "coap@LIBCOAP_API_VERSION@/coap_option.h" -#include "coap@LIBCOAP_API_VERSION@/coap_prng.h" -#include "coap@LIBCOAP_API_VERSION@/coap_subscribe.h" -#include "coap@LIBCOAP_API_VERSION@/coap_time.h" -#include "coap@LIBCOAP_API_VERSION@/encode.h" #include "coap@LIBCOAP_API_VERSION@/mem.h" #include "coap@LIBCOAP_API_VERSION@/net.h" +#include "coap@LIBCOAP_API_VERSION@/coap_option.h" #include "coap@LIBCOAP_API_VERSION@/pdu.h" +#include "coap@LIBCOAP_API_VERSION@/coap_prng.h" #include "coap@LIBCOAP_API_VERSION@/resource.h" -#include "coap@LIBCOAP_API_VERSION@/str.h" +#include "coap@LIBCOAP_API_VERSION@/coap_subscribe.h" +#include "coap@LIBCOAP_API_VERSION@/coap_time.h" +#include "coap@LIBCOAP_API_VERSION@/coap_str.h" #include "coap@LIBCOAP_API_VERSION@/uri.h" #ifdef __cplusplus diff --git a/include/coap3/coap_cache_internal.h b/include/coap3/coap_cache_internal.h index 764caf82..8dfac833 100644 --- a/include/coap3/coap_cache_internal.h +++ b/include/coap3/coap_cache_internal.h @@ -19,6 +19,7 @@ #include "coap_internal.h" #include "coap_io.h" +#include "coap_uthash_internal.h" #if COAP_SERVER_SUPPORT /** diff --git a/include/coap3/coap_dtls.h b/include/coap3/coap_dtls.h index 95ca1ec0..76a280d6 100644 --- a/include/coap3/coap_dtls.h +++ b/include/coap3/coap_dtls.h @@ -19,7 +19,7 @@ #define COAP_DTLS_H_ #include "coap_time.h" -#include "str.h" +#include "coap_str.h" /** * @ingroup application_api diff --git a/include/coap3/encode.h b/include/coap3/coap_encode.h similarity index 99% rename from include/coap3/encode.h rename to include/coap3/coap_encode.h index cc1623d2..34ab2e4f 100644 --- a/include/coap3/encode.h +++ b/include/coap3/coap_encode.h @@ -10,7 +10,7 @@ */ /** - * @file encode.h + * @file coap_encode.h * @brief Encoding and decoding of CoAP data types */ diff --git a/include/coap3/coap_hashkey.h b/include/coap3/coap_hashkey_internal.h similarity index 88% rename from include/coap3/coap_hashkey.h rename to include/coap3/coap_hashkey_internal.h index 40341e08..660ccced 100644 --- a/include/coap3/coap_hashkey.h +++ b/include/coap3/coap_hashkey_internal.h @@ -10,16 +10,16 @@ */ /** - * @file coap_hashkey.h + * @file coap_hashkey_internal.h * @brief Definition of hash key type and helper functions */ -#ifndef COAP_HASHKEY_H_ -#define COAP_HASHKEY_H_ +#ifndef COAP_HASHKEY_INTERNAL_H_ +#define COAP_HASHKEY_INTERNAL_H_ #include "libcoap.h" -#include "uthash.h" -#include "str.h" +#include "coap_uthash_internal.h" +#include "coap_str.h" typedef unsigned char coap_key_t[4]; @@ -58,4 +58,4 @@ void coap_hash_impl(const unsigned char *s, size_t len, coap_key_t h); coap_hash((Str)->s, (Str)->length, (H)); \ } -#endif /* COAP_HASHKEY_H_ */ +#endif /* COAP_HASHKEY_INTERNAL_H_ */ diff --git a/include/coap3/coap_internal.h b/include/coap3/coap_internal.h index 953801f3..5add0306 100644 --- a/include/coap3/coap_internal.h +++ b/include/coap3/coap_internal.h @@ -56,19 +56,14 @@ * Include all the header files that are for internal use only. */ -/* Not defined in coap.h - internal usage .h files */ -#include "utlist.h" -#include "uthash.h" -#include "coap_hashkey.h" -#include "coap_mutex.h" - -/* Specifically defined internal .h files */ #include "coap_asn1_internal.h" #include "coap_async_internal.h" #include "coap_block_internal.h" #include "coap_cache_internal.h" #include "coap_dtls_internal.h" +#include "coap_hashkey_internal.h" #include "coap_io_internal.h" +#include "coap_mutex_internal.h" #include "coap_net_internal.h" #include "coap_pdu_internal.h" #include "coap_session_internal.h" @@ -76,5 +71,7 @@ #include "coap_session_internal.h" #include "coap_subscribe_internal.h" #include "coap_tcp_internal.h" +#include "coap_utlist_internal.h" +#include "coap_uthash_internal.h" #endif /* COAP_INTERNAL_H_ */ diff --git a/include/coap3/coap_mutex.h b/include/coap3/coap_mutex_internal.h similarity index 94% rename from include/coap3/coap_mutex.h rename to include/coap3/coap_mutex_internal.h index 95aae49f..43e2081d 100644 --- a/include/coap3/coap_mutex.h +++ b/include/coap3/coap_mutex_internal.h @@ -11,12 +11,12 @@ */ /** - * @file coap_mutex.h + * @file coap_mutex_internal.h * @brief CoAP mutex mechanism wrapper */ -#ifndef COAP_MUTEX_H_ -#define COAP_MUTEX_H_ +#ifndef COAP_MUTEX_INTERNAL_H_ +#define COAP_MUTEX_INTERNAL_H_ /* * Mutexes are currently only used if there is a constrained stack, @@ -79,4 +79,4 @@ typedef int coap_mutex_t; #endif /* COAP_CONSTRAINED_STACK */ -#endif /* COAP_MUTEX_H_ */ +#endif /* COAP_MUTEX_INTERNAL_H_ */ diff --git a/include/coap3/coap_resource_internal.h b/include/coap3/coap_resource_internal.h index ed6f0c69..e9f700e1 100644 --- a/include/coap3/coap_resource_internal.h +++ b/include/coap3/coap_resource_internal.h @@ -18,7 +18,7 @@ #define COAP_RESOURCE_INTERNAL_H_ #include "coap_internal.h" -#include "uthash.h" +#include "coap_uthash_internal.h" #if COAP_SERVER_SUPPORT /** diff --git a/include/coap3/str.h b/include/coap3/coap_str.h similarity index 99% rename from include/coap3/str.h rename to include/coap3/coap_str.h index f9ea4f1f..d9744426 100644 --- a/include/coap3/str.h +++ b/include/coap3/coap_str.h @@ -10,7 +10,7 @@ */ /** - * @file str.h + * @file coap_str.h * @brief Strings to be used in the CoAP library */ diff --git a/include/coap3/uthash.h b/include/coap3/coap_uthash_internal.h similarity index 100% rename from include/coap3/uthash.h rename to include/coap3/coap_uthash_internal.h diff --git a/include/coap3/utlist.h b/include/coap3/coap_utlist_internal.h similarity index 100% rename from include/coap3/utlist.h rename to include/coap3/coap_utlist_internal.h diff --git a/include/coap3/pdu.h b/include/coap3/pdu.h index 29331b33..f2ee665a 100644 --- a/include/coap3/pdu.h +++ b/include/coap3/pdu.h @@ -18,8 +18,8 @@ #ifndef COAP_PDU_H_ #define COAP_PDU_H_ -#include "uri.h" #include "coap_option.h" +#include "uri.h" #ifdef WITH_LWIP #include diff --git a/include/coap3/resource.h b/include/coap3/resource.h index 50aadceb..1c70f269 100644 --- a/include/coap3/resource.h +++ b/include/coap3/resource.h @@ -24,7 +24,7 @@ #include "coap_async.h" #include "block.h" -#include "str.h" +#include "coap_str.h" #include "pdu.h" #include "net.h" #include "coap_subscribe.h" diff --git a/include/coap3/uri.h b/include/coap3/uri.h index fa4bf25c..c6d6fa37 100644 --- a/include/coap3/uri.h +++ b/include/coap3/uri.h @@ -19,7 +19,7 @@ #include -#include "str.h" +#include "coap_str.h" /** * The scheme specifiers. Secure schemes have an odd numeric value, diff --git a/libcoap-3.map b/libcoap-3.map index b899285d..c9323da1 100644 --- a/libcoap-3.map +++ b/libcoap-3.map @@ -95,7 +95,6 @@ global: coap_get_tls_library_version; coap_get_uri_path; coap_handle_event; - coap_hash_impl; coap_insert_optlist; coap_io_do_epoll; coap_io_do_io; diff --git a/libcoap-3.sym b/libcoap-3.sym index 322a4f1e..b8ed5412 100644 --- a/libcoap-3.sym +++ b/libcoap-3.sym @@ -93,7 +93,6 @@ coap_get_resource_from_uri_path coap_get_tls_library_version coap_get_uri_path coap_handle_event -coap_hash_impl coap_insert_optlist coap_io_do_epoll coap_io_do_io diff --git a/win32/libcoap.vcxproj b/win32/libcoap.vcxproj index d494f755..ece97e65 100644 --- a/win32/libcoap.vcxproj +++ b/win32/libcoap.vcxproj @@ -68,40 +68,40 @@ - + + + - + - + + + + + + - - - - - - - - - + + diff --git a/win32/libcoap.vcxproj.filters b/win32/libcoap.vcxproj.filters index 911929b8..95d610aa 100644 --- a/win32/libcoap.vcxproj.filters +++ b/win32/libcoap.vcxproj.filters @@ -95,10 +95,10 @@ Header Files - + Header Files - + Header Files @@ -107,6 +107,9 @@ Header Files + + Header Files + Header Files @@ -122,13 +125,16 @@ Header Files + + Header Files + Header Files Header Files - + Header Files @@ -137,7 +143,13 @@ Header Files - + + Header Files + + + Header Files + + Header Files @@ -146,6 +158,12 @@ Header Files + + Header Files + + + Header Files + Header Files @@ -155,6 +173,9 @@ Header Files + + Header Files + Header Files @@ -167,34 +188,13 @@ Header Files - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - Header Files - + Header Files - + Header Files