• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * coap.h -- main header file for CoAP stack of libcoap
3 *
4 * Copyright (C) 2010-2012,2015-2021 Olaf Bergmann <bergmann@tzi.org>
5 *               2015 Carsten Schoenert <c.schoenert@t-online.de>
6 *
7 * SPDX-License-Identifier: BSD-2-Clause
8 *
9 * This file is part of the CoAP library libcoap. Please see README for terms
10 * of use.
11 */
12
13#ifndef COAP_H_
14#define COAP_H_
15
16/* Define the address where bug reports for libcoap should be sent. */
17#define LIBCOAP_PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
18
19/* Define the full name of libcoap. */
20#define LIBCOAP_PACKAGE_NAME "@PACKAGE_NAME@"
21
22/* Define the full name and version of libcoap. */
23#define LIBCOAP_PACKAGE_STRING "@PACKAGE_STRING@"
24
25/* Define the home page for libcoap. */
26#define LIBCOAP_PACKAGE_URL "@PACKAGE_URL@"
27
28/* Define the version of libcoap this file belongs to. */
29#define LIBCOAP_PACKAGE_VERSION "@PACKAGE_VERSION@"
30
31/* Define the numeric version identifier for libcoap */
32#define LIBCOAP_VERSION (@LIBCOAP_VERSION@U)
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38#include "coap@LIBCOAP_API_VERSION@/libcoap.h"
39
40#include "coap@LIBCOAP_API_VERSION@/coap_forward_decls.h"
41#include "coap@LIBCOAP_API_VERSION@/address.h"
42#include "coap@LIBCOAP_API_VERSION@/async.h"
43#include "coap@LIBCOAP_API_VERSION@/block.h"
44#include "coap@LIBCOAP_API_VERSION@/coap_cache.h"
45#include "coap@LIBCOAP_API_VERSION@/coap_debug.h"
46#include "coap@LIBCOAP_API_VERSION@/coap_dtls.h"
47#include "coap@LIBCOAP_API_VERSION@/coap_event.h"
48#include "coap@LIBCOAP_API_VERSION@/coap_io.h"
49#include "coap@LIBCOAP_API_VERSION@/coap_prng.h"
50#include "coap@LIBCOAP_API_VERSION@/coap_time.h"
51#include "coap@LIBCOAP_API_VERSION@/encode.h"
52#include "coap@LIBCOAP_API_VERSION@/mem.h"
53#include "coap@LIBCOAP_API_VERSION@/net.h"
54#include "coap@LIBCOAP_API_VERSION@/option.h"
55#include "coap@LIBCOAP_API_VERSION@/pdu.h"
56#include "coap@LIBCOAP_API_VERSION@/resource.h"
57#include "coap@LIBCOAP_API_VERSION@/str.h"
58#include "coap@LIBCOAP_API_VERSION@/subscribe.h"
59#include "coap@LIBCOAP_API_VERSION@/uri.h"
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif /* COAP_H_ */
66