Files
libcoap/include/coap/coap.h.in
T
Olaf Bergmann b734208ed2 coap_event.[hc]: pass library events to application
An application can register a callback function of type
coap_event_handler_t that will be called by the library on certain
events. Currently, the DTLS implementation invokes coap_handle_event()
with session-specific events such as session close or
renegotiation.
2016-04-08 15:14:20 +02:00

64 lines
1.4 KiB
C

/*
* coap.h -- main header file for CoAP stack of libcoap
*
* Copyright (C) 2010-2012,2015-2016 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_
#include "libcoap.h"
/* Define the address where bug reports for libcoap should be sent. */
#define LIBCOAP_PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
/* Define the full name of libcoap. */
#define LIBCOAP_PACKAGE_NAME @PACKAGE_NAME@
/* Define the full name and version of libcoap. */
#define LIBCOAP_PACKAGE_STRING @PACKAGE_STRING@
/* Define the home page for libcoap. */
#define LIBCOAP_PACKAGE_URL @PACKAGE_URL@
/* Define the version of libcoap this file belongs to. */
#define LIBCOAP_PACKAGE_VERSION @PACKAGE_VERSION@
#ifdef __cplusplus
extern "C" {
#endif
#include "address.h"
#include "async.h"
#include "bits.h"
#include "block.h"
#include "coap_dtls.h"
#include "coap_event.h"
#include "coap_keystore.h"
#include "coap_io.h"
#include "coap_time.h"
#include "debug.h"
#include "encode.h"
#include "mem.h"
#include "net.h"
#include "option.h"
#include "pdu.h"
#include "prng.h"
#include "resource.h"
#include "run.h"
#include "str.h"
#include "subscribe.h"
#include "uri.h"
#include "uthash.h"
#include "utlist.h"
#ifdef __cplusplus
}
#endif
#endif /* _COAP_H_ */