iri.c(3)

NAME
iri.c - Functions to work with URIs and IRIs.

SYNOPSIS

#include <config.h>
#include <string.h>
#include <errno.h>
#include 'c-ctype.h'
#include <wget.h>
#include 'private.h'

  Data Structures
struct iri_scheme

  Functions
const char * wget_iri_scheme_get_name (wget_iri_scheme scheme)
bool wget_iri_supported (const wget_iri *iri)
bool wget_iri_isgendelim (char c)
bool wget_iri_issubdelim (char c)
bool wget_iri_isreserved (char c)
bool wget_iri_isunreserved (char c)
char * wget_iri_unescape_inline (char *src)
char * wget_iri_unescape_url_inline (char *src)
void wget_iri_free_content (wget_iri *iri)
void wget_iri_free (wget_iri **iri)
wget_iri * wget_iri_parse (const char *url, const char *encoding)
wget_iri * wget_iri_clone (const wget_iri *iri)
const char * wget_iri_get_connection_part (const wget_iri *iri, wget_buffer *buf)
const char * wget_iri_relative_to_abs (const wget_iri *base, const char *val, size_t len, wget_buffer *buf)
wget_iri * wget_iri_parse_base (const wget_iri *base, const char *url, const char *encoding)
int wget_iri_compare (const wget_iri *iri1, const wget_iri *iri2)
const char * wget_iri_escape (const char *src, wget_buffer *buf)
const char * wget_iri_escape_path (const char *src, wget_buffer *buf)
const char * wget_iri_escape_query (const char *src, wget_buffer *buf)
const char * wget_iri_get_escaped_host (const wget_iri *iri, wget_buffer *buf)
const char * wget_iri_get_escaped_resource (const wget_iri *iri, wget_buffer *buf)
char * wget_iri_get_path (const wget_iri *iri, wget_buffer *buf, const char *encoding)
char * wget_iri_get_query_as_filename (const wget_iri *iri, wget_buffer *buf, const char *encoding)
char * wget_iri_get_basename (const wget_iri *iri, wget_buffer *buf, const char *encoding, int flags)
void wget_iri_set_defaultpage (const char *page)
int wget_iri_set_defaultport (wget_iri_scheme scheme, uint16_t port)
wget_iri_scheme wget_iri_set_scheme (wget_iri *iri, wget_iri_scheme scheme)

Detailed Description

Functions to work with URIs and IRIs.

Author

Generated automatically by Doxygen for wget2 from the source code.