GRPC Core  9.0.0
Data Structures | Typedefs | Functions
hpack_parser.h File Reference
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include "src/core/ext/transport/chttp2/transport/frame.h"
#include "src/core/ext/transport/chttp2/transport/hpack_table.h"
#include "src/core/lib/transport/metadata.h"

Go to the source code of this file.

Data Structures

struct  grpc_chttp2_hpack_parser_string
 
struct  grpc_chttp2_hpack_parser
 

Typedefs

typedef struct grpc_chttp2_hpack_parser grpc_chttp2_hpack_parser
 
typedef grpc_error *(* grpc_chttp2_hpack_parser_state) (grpc_chttp2_hpack_parser *p, const uint8_t *beg, const uint8_t *end)
 

Functions

void grpc_chttp2_hpack_parser_init (grpc_chttp2_hpack_parser *p)
 
void grpc_chttp2_hpack_parser_destroy (grpc_chttp2_hpack_parser *p)
 
void grpc_chttp2_hpack_parser_set_has_priority (grpc_chttp2_hpack_parser *p)
 
grpc_errorgrpc_chttp2_hpack_parser_parse (grpc_chttp2_hpack_parser *p, const grpc_slice &slice)
 
grpc_errorgrpc_chttp2_header_parser_parse (void *hpack_parser, grpc_chttp2_transport *t, grpc_chttp2_stream *s, const grpc_slice &slice, int is_last)
 

Typedef Documentation

◆ grpc_chttp2_hpack_parser

◆ grpc_chttp2_hpack_parser_state

typedef grpc_error*(* grpc_chttp2_hpack_parser_state) (grpc_chttp2_hpack_parser *p, const uint8_t *beg, const uint8_t *end)

Function Documentation

◆ grpc_chttp2_header_parser_parse()

grpc_error* grpc_chttp2_header_parser_parse ( void *  hpack_parser,
grpc_chttp2_transport t,
grpc_chttp2_stream s,
const grpc_slice slice,
int  is_last 
)

◆ grpc_chttp2_hpack_parser_destroy()

void grpc_chttp2_hpack_parser_destroy ( grpc_chttp2_hpack_parser p)

◆ grpc_chttp2_hpack_parser_init()

void grpc_chttp2_hpack_parser_init ( grpc_chttp2_hpack_parser p)

◆ grpc_chttp2_hpack_parser_parse()

grpc_error* grpc_chttp2_hpack_parser_parse ( grpc_chttp2_hpack_parser p,
const grpc_slice slice 
)

◆ grpc_chttp2_hpack_parser_set_has_priority()

void grpc_chttp2_hpack_parser_set_has_priority ( grpc_chttp2_hpack_parser p)