uri_parser_result_t Struct Reference

container that holds all results More...

Detailed Description

container that holds all results

Definition at line 41 of file uri_parser.h.

#include <uri_parser.h>

Data Fields

char * scheme
 scheme
 
char * userinfo
 userinfo
 
char * host
 host part More...
 
char * ipv6addr
 Pointer to the start of the address, if host is an IPv6 address and NULL otherwise. More...
 
char * zoneid
 zoneid if host is IPv6 address, NULL otherwise More...
 
char * port
 port
 
char * path
 path
 
char * query
 query
 
uint16_t scheme_len
 length of scheme
 
uint16_t userinfo_len
 length of userinfo
 
uint16_t host_len
 length of host
 
uint16_t ipv6addr_len
 length of ipv6addr
 
uint16_t zoneid_len
 length of zoneid
 
uint16_t port_len
 length of port
 
uint16_t path_len
 length of path
 
uint16_t query_len
 length of query
 

Field Documentation

◆ host

char* uri_parser_result_t::host

host part

Note
for IPv6 addresses, host also includes the brackets '[' and ']' as well as the zoneid (with leading ''), if present.

Definition at line 52 of file uri_parser.h.

◆ ipv6addr

char* uri_parser_result_t::ipv6addr

Pointer to the start of the address, if host is an IPv6 address and NULL otherwise.

Note
ipv6addr does not include the brackets '[' and ']' and the zoneid part.

Definition at line 61 of file uri_parser.h.

◆ zoneid

char* uri_parser_result_t::zoneid

zoneid if host is IPv6 address, NULL otherwise

See also
https://tools.ietf.org/html/rfc6874

Definition at line 68 of file uri_parser.h.


The documentation for this struct was generated from the following file: