Apache2
h2_conn_ctx.h File Reference
#include "h2.h"
Include dependency graph for h2_conn_ctx.h:
This graph shows which files directly or indirectly include this file:

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_th2_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)
 

Macro Definition Documentation

◆ h2_conn_ctx_get

#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.

Parameters
cthe connection to look at
Returns
h2 context of this connection

◆ H2_PIPE_IN

#define H2_PIPE_IN   1

◆ H2_PIPE_OUT

#define H2_PIPE_OUT   0

Typedef Documentation

◆ h2_conn_ctx_t

typedef struct h2_conn_ctx_t h2_conn_ctx_t

Function Documentation

◆ h2_conn_ctx_assign_session()

void h2_conn_ctx_assign_session ( h2_conn_ctx_t ctx,
struct h2_session session 
)

◆ h2_conn_ctx_create_for_c1()

h2_conn_ctx_t* h2_conn_ctx_create_for_c1 ( conn_rec c,
server_rec s,
const char *  protocol 
)

Create the h2 connection context.

Parameters
cthe connection to create it at
sthe server in use
protocolthe protocol selected
Returns
created h2 context of this connection

◆ h2_conn_ctx_detach()

void h2_conn_ctx_detach ( conn_rec c)

◆ h2_conn_ctx_init_for_c2()

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 
)

◆ h2_conn_ctx_set_timeout()

void h2_conn_ctx_set_timeout ( h2_conn_ctx_t conn_ctx,
apr_interval_time_t  timeout 
)