The iterator you use to retrieve option values in-order. More...
The iterator you use to retrieve option values in-order.
#include <options.h>
Data Fields | |
unicoap_options_t * | options |
Options. | |
size_t | index |
Current option's index. | |
Enumerating options | |
static void | unicoap_options_iterator_init (unicoap_options_iterator_t *iterator, unicoap_options_t *options) |
Initializes the given iterator structure. More... | |
ssize_t | unicoap_options_get_next (unicoap_options_iterator_t *iterator, unicoap_option_number_t *number, const uint8_t **value) |
Gets the next option provided by the given iterator. More... | |
ssize_t | unicoap_options_get_next_by_number (unicoap_options_iterator_t *iterator, unicoap_option_number_t number, const uint8_t **value) |
Gets the next option with the given number, potentially skipping any options in between. More... | |
ssize_t | unicoap_options_get_next_query_by_name (unicoap_options_iterator_t *iterator, unicoap_option_number_t number, const char *name, const char **value) |
Gets the next query option matching the given name, potentially skipping any options in between. More... | |