wget2: iri.c File Reference

| wget2 2.0.0

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Functions
iri.c File Reference

### (2021-09-05 15:34:56 -0600, (build 0f85ef3))

Functions to work with URIs and IRIs. More...

`#include <config.h>`
`#include <string.h>`
`#include <errno.h>`
`#include "c-ctype.h"`
`#include <wget.h>`
`#include "private.h"`
Include dependency graph for iri.c:

## 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 (wget_iri *iri1, 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.