Loading...
Searching...
No Matches
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

const char * scheme
 scheme
 
const char * userinfo
 userinfo
 
const char * host
 host part
 
const char * ipv6addr
 Pointer to the start of the address, if host is an IPv6 address and NULL otherwise.
 
const char * zoneid
 zoneid if host is IPv6 address, NULL otherwise
 
const char * port_str
 port as str
 
const char * path
 path
 
const char * query
 query
 
uint16_t port
 port as uint16_t
 
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_str_len
 length of port_str
 
uint16_t path_len
 length of path
 
uint16_t query_len
 length of query
 

Field Documentation

◆ host

const 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.

◆ host_len

uint16_t uri_parser_result_t::host_len

length of host

Definition at line 76 of file uri_parser.h.

◆ ipv6addr

const 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.

◆ ipv6addr_len

uint16_t uri_parser_result_t::ipv6addr_len

length of ipv6addr

Definition at line 77 of file uri_parser.h.

◆ path

const char* uri_parser_result_t::path

path

Definition at line 71 of file uri_parser.h.

◆ path_len

uint16_t uri_parser_result_t::path_len

length of path

Definition at line 80 of file uri_parser.h.

◆ port

uint16_t uri_parser_result_t::port

port as uint16_t

Definition at line 73 of file uri_parser.h.

◆ port_str

const char* uri_parser_result_t::port_str

port as str

Definition at line 70 of file uri_parser.h.

◆ port_str_len

uint16_t uri_parser_result_t::port_str_len

length of port_str

Definition at line 79 of file uri_parser.h.

◆ query

const char* uri_parser_result_t::query

query

Definition at line 72 of file uri_parser.h.

◆ query_len

uint16_t uri_parser_result_t::query_len

length of query

Definition at line 81 of file uri_parser.h.

◆ scheme

const char* uri_parser_result_t::scheme

scheme

Definition at line 42 of file uri_parser.h.

◆ scheme_len

uint16_t uri_parser_result_t::scheme_len

length of scheme

Definition at line 74 of file uri_parser.h.

◆ userinfo

const char* uri_parser_result_t::userinfo

userinfo

Definition at line 43 of file uri_parser.h.

◆ userinfo_len

uint16_t uri_parser_result_t::userinfo_len

length of userinfo

Definition at line 75 of file uri_parser.h.

◆ zoneid

const 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.

◆ zoneid_len

uint16_t uri_parser_result_t::zoneid_len

length of zoneid

Definition at line 78 of file uri_parser.h.


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