VLC 4.0.0-dev
|
Data Structures | |
struct | hpack_decoder |
Functions | |
struct hpack_decoder * | hpack_decode_init (size_t header_table_size) |
void | hpack_decode_destroy (struct hpack_decoder *dec) |
static int_fast32_t | hpack_decode_int (unsigned n, const uint8_t **restrict datap, size_t *restrict lengthp) |
Decodes an HPACK unsigned variable length integer. More... | |
static char * | hpack_decode_str_raw (const uint8_t *data, size_t length) |
Decodes a raw string literal. More... | |
static int | hpack_decode_byte_huffman (const uint8_t *restrict end, int *restrict bit_offset) |
static char * | hpack_decode_str_huffman (const uint8_t *data, size_t length) |
Decodes an Huffman-encoded string literal. More... | |
static char * | hpack_decode_str (const uint8_t **restrict datap, size_t *restrict lengthp) |
Decodes a string literal. More... | |
static char * | hpack_lookup_name (const struct hpack_decoder *dec, uint_fast32_t idx) |
static char * | hpack_lookup_value (const struct hpack_decoder *dec, uint_fast32_t idx) |
static void | hpack_decode_evict (struct hpack_decoder *dec) |
static int | hpack_append_hdr (struct hpack_decoder *dec, const char *name, const char *value) |
static int | hpack_decode_hdr_indexed (struct hpack_decoder *dec, const uint8_t **restrict datap, size_t *restrict lengthp, char **restrict namep, char **restrict valuep) |
static int | hpack_decode_hdr_index (struct hpack_decoder *dec, const uint8_t **restrict datap, size_t *restrict lengthp, char **restrict namep, char **restrict valuep) |
static int | hpack_decode_hdr_noindex (struct hpack_decoder *dec, const uint8_t **restrict datap, size_t *restrict lengthp, char **restrict namep, char **restrict valuep) |
static int | hpack_decode_tbl_update (struct hpack_decoder *dec, const uint8_t **restrict datap, size_t *restrict lengthp, char **restrict name, char **restrict value) |
static int | hpack_decode_hdr (struct hpack_decoder *dec, const uint8_t **restrict datap, size_t *restrict lengthp, char **restrict namep, char **restrict valuep) |
int | hpack_decode (struct hpack_decoder *dec, const uint8_t *data, size_t length, char *headers[][2], unsigned max) |
Variables | |
static const char | hpack_names [][28] |
Static Table header names. More... | |
static const char | hpack_values [][14] |
Static Table header values. More... | |
|
static |
References hpack_decoder::entries, hpack_decode_evict(), name, hpack_decoder::size, and hpack_decoder::table.
Referenced by hpack_decode_hdr_index().
|
static |
References p.
Referenced by hpack_decode_str_huffman().
|
static |
References hpack_decoder::entries, hpack_decoder::max_size, hpack_decoder::size, and hpack_decoder::table.
Referenced by hpack_append_hdr(), and hpack_decode_tbl_update().
|
static |
References hpack_decode_hdr_index(), hpack_decode_hdr_indexed(), hpack_decode_hdr_noindex(), and hpack_decode_tbl_update().
Referenced by hpack_decode().
|
static |
References hpack_append_hdr(), hpack_decode_int(), hpack_decode_str(), hpack_lookup_name(), and name.
Referenced by hpack_decode_hdr().
|
static |
References hpack_decode_int(), hpack_lookup_name(), hpack_lookup_value(), and name.
Referenced by hpack_decode_hdr().
|
static |
References hpack_decode_int(), hpack_decode_str(), hpack_lookup_name(), and name.
Referenced by hpack_decode_hdr().
|
static |
Decodes an HPACK unsigned variable length integer.
References p.
Referenced by hpack_decode_hdr_index(), hpack_decode_hdr_indexed(), hpack_decode_hdr_noindex(), hpack_decode_str(), and hpack_decode_tbl_update().
|
static |
Decodes a string literal.
References hpack_decode_int(), hpack_decode_str_huffman(), and hpack_decode_str_raw().
Referenced by hpack_decode_hdr_index(), and hpack_decode_hdr_noindex().
|
static |
Decodes an Huffman-encoded string literal.
References hpack_decode_byte_huffman().
Referenced by hpack_decode_str().
|
static |
Decodes a raw string literal.
Referenced by hpack_decode_str().
|
static |
References hpack_decode_evict(), hpack_decode_int(), hpack_decoder::max_size, and name.
Referenced by hpack_decode_hdr().
|
static |
References hpack_decoder::entries, hpack_names, strdup(), and hpack_decoder::table.
Referenced by hpack_decode_hdr_index(), hpack_decode_hdr_indexed(), and hpack_decode_hdr_noindex().
|
static |
References hpack_decoder::entries, hpack_names, hpack_values, strdup(), and hpack_decoder::table.
Referenced by hpack_decode_hdr_indexed().
|
static |
Static Table header names.
Referenced by hpack_lookup_name(), and hpack_lookup_value().
|
static |
Static Table header values.
Referenced by hpack_lookup_value().