mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 17:52:54 +03:00
Makefile.am: include coap_tcp_internal.h in EXTRA_DIST libcoap-2.map libcoap-2.sym: Don't expose previously static coap_socket_format_errno(). src/coap_gnutls.c: src/coap_openssl.c: src/coap_tinydtls.c: Correct ENABLE_TCP (never defined) to !COAP_DISABLE_TCP. Conditionally compile in TLS code as appropriate. src/coap_io.c: Correct #endif description. src/coap_session.c: Conditionally compile in TLS code as appropriate. src/coap_tcp.c Merge in appropriate parts of https://github.com/obgm/libcoap/pull/396 and https://github.com/obgm/libcoap/pull/345 fixes. include/coap2/coap_tcp.h: include/coap2/coap_tcp_internal.h: Rename include/coap2/coap_tcp.h to include/coap2/coap_tcp_internal.h and remove reference to coap_tcp_is_supported(). include/coap2/coap.h.in: Remove reference to coap_tcp.h. coap_config.h.windows: Include #define COAP_DISABLE_TCP 0. include/coap2/coap.h.windows: Reorder #includes include/coap2/coap_internal.h: Add #include coap_tcp_internal.h include/coap2/coap_io.h: Add in definition of coap_tcp_is_supported(). win32/libcoap.vcxproj: win32/libcoap.vcxproj.filters: Include src/coap_tcp.c and include/coap2/coap_tcp_internal.h.
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
/*
|
|
* coap.h -- main header file for CoAP stack of libcoap
|
|
*
|
|
* Copyright (C) 2010-2012,2015-2017 Olaf Bergmann <bergmann@tzi.org>
|
|
* 2015 Carsten Schoenert <c.schoenert@t-online.de>
|
|
*
|
|
* This file is part of the CoAP library libcoap. Please see README for terms
|
|
* of use.
|
|
*/
|
|
|
|
#ifndef COAP_H_
|
|
#define COAP_H_
|
|
|
|
/* Define the address where bug reports for libcoap should be sent. */
|
|
#define LIBCOAP_PACKAGE_BUGREPORT "libcoap-developers@lists.sourceforge.net"
|
|
|
|
/* Define the full name of libcoap. */
|
|
#define LIBCOAP_PACKAGE_NAME "libcoap"
|
|
|
|
/* Define the full name and version of libcoap. */
|
|
#define LIBCOAP_PACKAGE_STRING "libcoap 4.2.0"
|
|
|
|
/* Define the home page for libcoap. */
|
|
#define LIBCOAP_PACKAGE_URL "https://libcoap.net/"
|
|
|
|
/* Define the version of libcoap this file belongs to. */
|
|
#define LIBCOAP_PACKAGE_VERSION "4.2.0"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "libcoap.h"
|
|
|
|
#include "coap_forward_decls.h"
|
|
#include "address.h"
|
|
#include "async.h"
|
|
#include "bits.h"
|
|
#include "block.h"
|
|
#include "coap_debug.h"
|
|
#include "coap_dtls.h"
|
|
#include "coap_event.h"
|
|
#include "coap_io.h"
|
|
#include "coap_time.h"
|
|
#include "encode.h"
|
|
#include "mem.h"
|
|
#include "net.h"
|
|
#include "option.h"
|
|
#include "pdu.h"
|
|
#include "prng.h"
|
|
#include "resource.h"
|
|
#include "str.h"
|
|
#include "subscribe.h"
|
|
#include "uri.h"
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* COAP_H_ */
|