libcoap 4.3.5-develop-72190a8
|
Iterator to run through PDU options. More...
#include <coap_option.h>
Data Fields | |
size_t | length |
remaining length of PDU | |
coap_option_num_t | number |
decoded option number | |
unsigned int | bad:1 |
iterator object is ok if not set | |
unsigned int | filtered:1 |
denotes whether or not filter is used | |
coap_opt_t * | next_option |
pointer to the unparsed next option | |
coap_opt_filter_t | filter |
option filter | |
Iterator to run through PDU options.
This object must be initialized with coap_option_iterator_init(). Call coap_option_next() to walk through the list of options until coap_option_next() returns NULL
.
Definition at line 168 of file coap_option.h.
unsigned int coap_opt_iterator_t::bad |
iterator object is ok if not set
Definition at line 171 of file coap_option.h.
coap_opt_filter_t coap_opt_iterator_t::filter |
option filter
Definition at line 174 of file coap_option.h.
unsigned int coap_opt_iterator_t::filtered |
denotes whether or not filter is used
Definition at line 172 of file coap_option.h.
size_t coap_opt_iterator_t::length |
remaining length of PDU
Definition at line 169 of file coap_option.h.
coap_opt_t* coap_opt_iterator_t::next_option |
pointer to the unparsed next option
Definition at line 173 of file coap_option.h.
coap_option_num_t coap_opt_iterator_t::number |
decoded option number
Definition at line 170 of file coap_option.h.