• 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-2023 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/**
14 * @file coap.h
15 * @brief Primary include file
16 */
17
18#ifndef COAP_H_
19#define COAP_H_
20
21/* Define the address where bug reports for libcoap should be sent. */
22#define LIBCOAP_PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
23
24/* Define the full name of libcoap. */
25#define LIBCOAP_PACKAGE_NAME "@PACKAGE_NAME@"
26
27/* Define the full name and version of libcoap. */
28#define LIBCOAP_PACKAGE_STRING "@PACKAGE_STRING@"
29
30/* Define the home page for libcoap. */
31#define LIBCOAP_PACKAGE_URL "@PACKAGE_URL@"
32
33/* Define the version of libcoap this file belongs to. */
34#define LIBCOAP_PACKAGE_VERSION "@PACKAGE_VERSION@"
35
36/* Define the numeric version identifier for libcoap */
37#define LIBCOAP_VERSION (@LIBCOAP_VERSION@U)
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43#include "coap@LIBCOAP_API_VERSION@/libcoap.h"
44
45#include "coap@LIBCOAP_API_VERSION@/coap_forward_decls.h"
46#include "coap@LIBCOAP_API_VERSION@/coap_address.h"
47#include "coap@LIBCOAP_API_VERSION@/coap_async.h"
48#include "coap@LIBCOAP_API_VERSION@/coap_block.h"
49#include "coap@LIBCOAP_API_VERSION@/coap_cache.h"
50#include "coap@LIBCOAP_API_VERSION@/coap_debug.h"
51#include "coap@LIBCOAP_API_VERSION@/coap_dtls.h"
52#include "coap@LIBCOAP_API_VERSION@/coap_encode.h"
53#include "coap@LIBCOAP_API_VERSION@/coap_event.h"
54#include "coap@LIBCOAP_API_VERSION@/coap_io.h"
55#include "coap@LIBCOAP_API_VERSION@/coap_mem.h"
56#include "coap@LIBCOAP_API_VERSION@/coap_net.h"
57#include "coap@LIBCOAP_API_VERSION@/coap_option.h"
58#include "coap@LIBCOAP_API_VERSION@/coap_oscore.h"
59#include "coap@LIBCOAP_API_VERSION@/coap_pdu.h"
60#include "coap@LIBCOAP_API_VERSION@/coap_prng.h"
61#include "coap@LIBCOAP_API_VERSION@/coap_resource.h"
62#include "coap@LIBCOAP_API_VERSION@/coap_str.h"
63#include "coap@LIBCOAP_API_VERSION@/coap_subscribe.h"
64#include "coap@LIBCOAP_API_VERSION@/coap_time.h"
65#include "coap@LIBCOAP_API_VERSION@/coap_uri.h"
66#include "coap@LIBCOAP_API_VERSION@/coap_ws.h"
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif /* COAP_H_ */
73