int uri_parser_process_string(uri_parser_result_t *result, const char *uri)
Parse a URI reference.
uint16_t userinfo_len
length of userinfo
uint16_t zoneid_len
length of zoneid
bool uri_parser_is_absolute(const char *uri, size_t uri_len)
Checks whether uri is in absolute form.
uint16_t ipv6addr_len
length of ipv6addr
uint16_t path_len
length of path
container that holds all results
char * ipv6addr
Pointer to the start of the address, if host is an IPv6 address and NULL otherwise.
uint16_t host_len
length of host
uint16_t query_len
length of query
uint16_t scheme_len
length of scheme
uint16_t port_len
length of port
char * zoneid
zoneid if host is IPv6 address, NULL otherwise
bool uri_parser_is_absolute_string(const char *uri)
Checks whether uri is in absolute form.
int uri_parser_process(uri_parser_result_t *result, const char *uri, size_t uri_len)
Parse a URI reference.