libcoap 4.3.5-develop-19cef11
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-2024 Jon Shallow <supjps-libcoap@jpshallow.com>
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
18#ifndef COAP_FORWARD_DECLS_H_
19#define COAP_FORWARD_DECLS_H_
20
21/*
22 * Define the forward declations for the structures (even non-opaque)
23 * so that applications (using coap.h) as well as libcoap builds
24 * can reference them (and makes .h file dependencies a lot simpler).
25 */
26struct coap_address_t;
27struct coap_bin_const_t;
28struct coap_dtls_pki_t;
29struct coap_str_const_t;
30struct coap_string_t;
31
33
34/*
35 * typedef all the opaque structures that are defined in coap_*_internal.h
36 */
37
38/* ************* coap_async_internal.h ***************** */
39
44
45/* ************* coap_block_internal.h ***************** */
46
47/*
48 * Block handling information.
49 */
53
54/* ************* coap_cache_internal.h ***************** */
55
56/*
57 * Cache Entry information.
58 */
61
62/* ************* coap_io_internal.h ***************** */
63
69
70/* ************* coap_net_internal.h ***************** */
71
72/*
73 * Net information.
74 */
77
78/* ************* coap_oscore_internal.h ***************** */
79
80/*
81 * OSCORE information.
82 */
84
85/* ************* coap_pdu_internal.h ***************** */
86
90typedef struct coap_pdu_t coap_pdu_t;
91
92/* ************* coap_proxy_internal.h ***************** */
93
98
99
100/* ************* coap_resource_internal.h ***************** */
101
102/*
103 * Resource information.
104 */
107
108/* ************* coap_session_internal.h ***************** */
109
110/*
111 * Session information.
112 */
116
117/* ************* coap_subscribe_internal.h ***************** */
118
119/*
120 * Observe subscriber information.
121 */
123
124#endif /* COAP_FORWARD_DECLS_H_ */
struct coap_async_t coap_async_t
Async Entry information.
Only used for servers for hashing incoming packets.
Multi-purpose address abstraction.
Definition: coap_address.h:148
Limits the number of subscribers for each resource that this server support.
CoAP binary data definition with const data.
Definition: coap_str.h:64
The CoAP stack's global state is stored in a coap_context_t object.
The structure used for defining the PKI setup data to be used.
Definition: coap_dtls.h:312
Abstraction of virtual endpoint that can be attached to coap_context_t.
Structure to hold large body (many blocks) client receive information.
Structure to hold large body (many blocks) server receive information.
Structure to hold large body (many blocks) transmission information.
The structure used to hold the OSCORE configuration information.
structure for CoAP PDUs
Queue entry.
Abstraction of resource that can be attached to coap_context_t.
Abstraction of virtual session that can be attached to coap_context_t (client) or coap_endpoint_t (se...
CoAP string data definition with const data.
Definition: coap_str.h:46
CoAP string data definition.
Definition: coap_str.h:38
Number of notifications that may be sent non-confirmable before a confirmable message is sent to dete...