Apache2
|
#include "h2.h"
Go to the source code of this file.
Data Structures | |
struct | h2_conn_ctx_t |
Macros | |
#define | H2_PIPE_OUT 0 |
#define | H2_PIPE_IN 1 |
#define | h2_conn_ctx_get(c) ((c)? (h2_conn_ctx_t*)ap_get_module_config((c)->conn_config, &http2_module) : NULL) |
Typedefs | |
typedef struct h2_conn_ctx_t | h2_conn_ctx_t |
Functions | |
h2_conn_ctx_t * | h2_conn_ctx_create_for_c1 (conn_rec *c, server_rec *s, const char *protocol) |
void | h2_conn_ctx_assign_session (h2_conn_ctx_t *ctx, struct h2_session *session) |
apr_status_t | h2_conn_ctx_init_for_c2 (h2_conn_ctx_t **pctx, conn_rec *c, struct h2_mplx *mplx, struct h2_stream *stream, struct h2_c2_transit *transit) |
void | h2_conn_ctx_detach (conn_rec *c) |
void | h2_conn_ctx_set_timeout (h2_conn_ctx_t *conn_ctx, apr_interval_time_t timeout) |
#define h2_conn_ctx_get | ( | c | ) | ((c)? (h2_conn_ctx_t*)ap_get_module_config((c)->conn_config, &http2_module) : NULL) |
Get the h2 connection context.
c | the connection to look at |
#define H2_PIPE_IN 1 |
#define H2_PIPE_OUT 0 |
typedef struct h2_conn_ctx_t h2_conn_ctx_t |
void h2_conn_ctx_assign_session | ( | h2_conn_ctx_t * | ctx, |
struct h2_session * | session | ||
) |
h2_conn_ctx_t* h2_conn_ctx_create_for_c1 | ( | conn_rec * | c, |
server_rec * | s, | ||
const char * | protocol | ||
) |
Create the h2 connection context.
c | the connection to create it at |
s | the server in use |
protocol | the protocol selected |
void h2_conn_ctx_detach | ( | conn_rec * | c | ) |
apr_status_t h2_conn_ctx_init_for_c2 | ( | h2_conn_ctx_t ** | pctx, |
conn_rec * | c, | ||
struct h2_mplx * | mplx, | ||
struct h2_stream * | stream, | ||
struct h2_c2_transit * | transit | ||
) |
void h2_conn_ctx_set_timeout | ( | h2_conn_ctx_t * | conn_ctx, |
apr_interval_time_t | timeout | ||
) |