Name

liburi — parse URIs and IRIs

Library

URI parsing library (liburi, -luri)

Synopsis

#include <liburi.h>

Description

The liburi library provides facilities for parsing and recomposing Universal Resource Identifiers (URIs) and Internationalized Resource Identifiers (IRIs).

Tasks

Create a URI instance:

uri_create_str(3), uri_create_uri(3).

Free resources used by a URI instance:

uri_destroy(3).

Obtain the parsed URI as a string:

uri_str(3).

Obtain parsed components of the URI:

uri_scheme(3), uri_auth(3), uri_host(3), uri_port(3), uri_portnum(3), uri_path(3), uri_query(3), uri_fragment(3).

Obtain information about a parsed URI:

uri_absolute(3), uri_absolute_path(3).

History

The liburi library implements an alternative API to that provided by the uriparser library, which liburi uses internally.