coap_forward_decls.h
Go to the documentation of this file.
/*
* coap_forward_decls.h -- Forward declarations of structures that are
* opaque to application programming that use libcoap.
*
* Copyright (C) 2019 Jon Shallow <supjps-libcoap@jpshallow.com>
*
* This file is part of the CoAP library libcoap. Please see README for terms
* of use.
*/
#ifndef COAP_FORWARD_DECLS_H_
#define COAP_FORWARD_DECLS_H_
/*
* Define the forward declations for the structures (even non-opaque)
* so that applications (using coap.h) as well as libcoap builds
* can reference them (and makes .h file dependencies a lot simpler).
*/
struct coap_context_t;
struct coap_dtls_pki_t;
struct coap_endpoint_t;
struct coap_queue_t;
struct coap_session_t;
struct coap_string_t;
struct coap_subscription_t;
/*
* typedef all the structures that are defined in coap_*_internal.h
*/
/* ************* coap_session_internal.h ***************** */
typedef struct coap_endpoint_t coap_endpoint_t;
/* ************* coap_subscribe_internal.h ***************** */
typedef struct coap_subscription_t coap_subscription_t;
#endif /* COAP_FORWARD_DECLS_H_ */
coap_session_t
Definition: coap_session.h:59
coap_endpoint_t
Abstraction of virtual endpoint that can be attached to coap_context_t.
Definition: coap_session_internal.h:29
coap_string_t
Coap string data definition.
Definition: str.h:25
coap_subscription_t
Subscriber information.
Definition: coap_subscribe_internal.h:44
coap_dtls_pki_t
The structure used for defining the PKI setup data to be used.
Definition: coap_dtls.h:193
coap_queue_t
Queue entry.
Definition: net.h:38
coap_context_t
The CoAP stack&#39;s global state is stored in a coap_context_t object.
Definition: net.h:147