Iterator to for tokenizing a URI path or query.
More...
#include <uri.h>
Iterator to for tokenizing a URI path or query.
This structure must be initialized with coap_parse_iterator_init(). Call coap_parse_next() to walk through the tokens.
unsigned char *token;
... do something with token ...
}
Definition at line 78 of file uri.h.
unsigned char* coap_parse_iterator_t::delim |
delimiters where to split the string
Definition at line 81 of file uri.h.
size_t coap_parse_iterator_t::dlen |
length of separator
Definition at line 82 of file uri.h.
size_t coap_parse_iterator_t::n |
number of remaining characters in buffer
Definition at line 79 of file uri.h.
unsigned char* coap_parse_iterator_t::pos |
current position in buffer
Definition at line 83 of file uri.h.
size_t coap_parse_iterator_t::segment_length |
length of current segment
Definition at line 84 of file uri.h.
unsigned char coap_parse_iterator_t::separator |
segment separators
Definition at line 80 of file uri.h.
The documentation for this struct was generated from the following file: