libcoap
4.2.1
coap_forward_decls.h
Go to the documentation of this file.
1
/*
2
* coap_forward_decls.h -- Forward declarations of structures that are
3
* opaque to application programming that use libcoap.
4
*
5
* Copyright (C) 2019 Jon Shallow <supjps-libcoap@jpshallow.com>
6
*
7
* This file is part of the CoAP library libcoap. Please see README for terms
8
* of use.
9
*/
10
16
#ifndef COAP_FORWARD_DECLS_H_
17
#define COAP_FORWARD_DECLS_H_
18
19
/*
20
* Define the forward declations for the structures (even non-opaque)
21
* so that applications (using coap.h) as well as libcoap builds
22
* can reference them (and makes .h file dependencies a lot simpler).
23
*/
24
struct
coap_context_t
;
25
struct
coap_dtls_pki_t
;
26
struct
coap_endpoint_t
;
27
struct
coap_queue_t
;
28
struct
coap_session_t
;
29
struct
coap_string_t
;
30
struct
coap_subscription_t
;
31
32
/*
33
* typedef all the structures that are defined in coap_*_internal.h
34
*/
35
36
/* ************* coap_session_internal.h ***************** */
37
41
typedef
struct
coap_endpoint_t
coap_endpoint_t
;
42
43
/* ************* coap_subscribe_internal.h ***************** */
44
46
typedef
struct
coap_subscription_t
coap_subscription_t
;
47
48
#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's global state is stored in a coap_context_t object.
Definition:
net.h:147
include
coap2
coap_forward_decls.h
Generated on Tue Nov 5 2019 14:15:42 for libcoap by
1.8.13