libcoap
4.3.5-develop-ea01661
Loading...
Searching...
No Matches
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-2025 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
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
/*
26
* Define the forward declations for the structures (even non-opaque)
27
* so that applications (using coap.h) as well as libcoap builds
28
* can reference them (and makes .h file dependencies a lot simpler).
29
*/
30
struct
coap_address_t
;
31
struct
coap_bin_const_t
;
32
struct
coap_dtls_pki_t
;
33
struct
coap_str_const_t
;
34
struct
coap_string_t
;
35
36
typedef
struct
coap_address_t
coap_address_t
;
37
38
/*
39
* typedef all the opaque structures that are defined in coap_*_internal.h
40
*/
41
42
/* ************* coap_async_internal.h ***************** */
43
47
typedef
struct
coap_async_t
coap_async_t
;
48
49
/* ************* coap_block_internal.h ***************** */
50
51
/*
52
* Block handling information.
53
*/
54
typedef
struct
coap_lg_xmit_t
coap_lg_xmit_t
;
55
typedef
struct
coap_lg_crcv_t
coap_lg_crcv_t
;
56
typedef
struct
coap_lg_srcv_t
coap_lg_srcv_t
;
57
58
/* ************* coap_cache_internal.h ***************** */
59
60
/*
61
* Cache Entry information.
62
*/
63
typedef
struct
coap_cache_entry_t
coap_cache_entry_t
;
64
typedef
struct
coap_cache_key_t
coap_cache_key_t
;
65
66
/* ************* coap_io_internal.h ***************** */
67
71
typedef
struct
coap_packet_t
coap_packet_t
;
72
typedef
struct
coap_socket_t
coap_socket_t
;
73
74
/* ************* coap_net_internal.h ***************** */
75
76
/*
77
* Net information.
78
*/
79
typedef
struct
coap_context_t
coap_context_t
;
80
typedef
struct
coap_queue_t
coap_queue_t
;
81
82
/* ************* coap_oscore_internal.h ***************** */
83
84
/*
85
* OSCORE information.
86
*/
87
typedef
struct
coap_oscore_conf_t
coap_oscore_conf_t
;
88
89
/* ************* coap_pdu_internal.h ***************** */
90
94
typedef
struct
coap_pdu_t
coap_pdu_t
;
95
96
/* ************* coap_proxy_internal.h ***************** */
97
101
typedef
struct
coap_proxy_list_t
coap_proxy_list_t
;
102
103
104
/* ************* coap_resource_internal.h ***************** */
105
106
/*
107
* Resource information.
108
*/
109
typedef
struct
coap_attr_t
coap_attr_t
;
110
typedef
struct
coap_resource_t
coap_resource_t
;
111
112
/* ************* coap_session_internal.h ***************** */
113
114
/*
115
* Session information.
116
*/
117
typedef
struct
coap_addr_hash_t
coap_addr_hash_t
;
118
typedef
struct
coap_endpoint_t
coap_endpoint_t
;
119
typedef
struct
coap_session_t
coap_session_t
;
120
121
/* ************* coap_subscribe_internal.h ***************** */
122
123
/*
124
* Observe subscriber information.
125
*/
126
typedef
struct
coap_subscription_t
coap_subscription_t
;
127
128
#ifdef __cplusplus
129
}
130
#endif
131
132
#endif
/* COAP_FORWARD_DECLS_H_ */
coap_proxy_list_t
struct coap_proxy_list_t coap_proxy_list_t
Proxy information.
Definition
coap_forward_decls.h:101
coap_async_t
struct coap_async_t coap_async_t
Async Entry information.
Definition
coap_forward_decls.h:47
coap_addr_hash_t
Only used for servers for hashing incoming packets.
Definition
coap_session_internal.h:44
coap_address_t
Multi-purpose address abstraction.
Definition
coap_address.h:150
coap_attr_t
Limits the number of subscribers for each resource that this server support.
Definition
coap_resource_internal.h:46
coap_bin_const_t
CoAP binary data definition with const data.
Definition
coap_str.h:67
coap_cache_entry_t
Definition
coap_cache_internal.h:45
coap_cache_key_t
Definition
coap_cache_internal.h:41
coap_context_t
The CoAP stack's global state is stored in a coap_context_t object.
Definition
coap_net_internal.h:55
coap_dtls_pki_t
The structure used for defining the PKI setup data to be used.
Definition
coap_dtls.h:316
coap_endpoint_t
Abstraction of virtual endpoint that can be attached to coap_context_t.
Definition
coap_session_internal.h:256
coap_lg_crcv_t
Structure to hold large body (many blocks) client receive information.
Definition
coap_block_internal.h:188
coap_lg_srcv_t
Structure to hold large body (many blocks) server receive information.
Definition
coap_block_internal.h:223
coap_lg_xmit_t
Structure to hold large body (many blocks) transmission information.
Definition
coap_block_internal.h:162
coap_oscore_conf_t
The structure used to hold the OSCORE configuration information.
Definition
coap_oscore_internal.h:40
coap_packet_t
Definition
coap_io_internal.h:149
coap_pdu_t
structure for CoAP PDUs
Definition
coap_pdu_internal.h:139
coap_queue_t
Queue entry.
Definition
coap_net_internal.h:39
coap_resource_t
Abstraction of resource that can be attached to coap_context_t.
Definition
coap_resource_internal.h:57
coap_session_t
Abstraction of virtual session that can be attached to coap_context_t (client) or coap_endpoint_t (se...
Definition
coap_session_internal.h:72
coap_socket_t
Definition
coap_io_internal.h:42
coap_str_const_t
CoAP string data definition with const data.
Definition
coap_str.h:49
coap_string_t
CoAP string data definition.
Definition
coap_str.h:41
coap_subscription_t
Number of notifications that may be sent non-confirmable before a confirmable message is sent to dete...
Definition
coap_subscribe_internal.h:60
libcoap
include
coap3
coap_forward_decls.h
Generated on Fri Aug 22 2025 02:05:59 for libcoap by
1.9.8