Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
h2_task.h File Reference
#include <http_core.h>
Include dependency graph for h2_task.h:

Go to the source code of this file.

Data Structures

struct  h2_task
 

Typedefs

typedef struct h2_task h2_task
 

Functions

h2_taskh2_task_create (conn_rec *c, int stream_id, const struct h2_request *req, struct h2_bucket_beam *input, struct h2_bucket_beam *output, struct h2_mplx *mplx)
 
void h2_task_destroy (h2_task *task)
 
apr_status_t h2_task_do (h2_task *task, apr_thread_t *thread, int worker_id)
 
void h2_task_redo (h2_task *task)
 
int h2_task_can_redo (h2_task *task)
 
void h2_task_rst (h2_task *task, int error)
 
void h2_task_register_hooks (void)
 
apr_status_t h2_task_init (apr_pool_t *pool, server_rec *s)
 
 APR_OPTIONAL_FN_TYPE (ap_logio_add_bytes_in)*h2_task_logio_add_bytes_in
 
 APR_OPTIONAL_FN_TYPE (ap_logio_add_bytes_out)*h2_task_logio_add_bytes_out
 
apr_status_t h2_task_freeze (h2_task *task)
 
apr_status_t h2_task_thaw (h2_task *task)
 
int h2_task_has_thawed (h2_task *task)
 

Typedef Documentation

typedef struct h2_task h2_task

Function Documentation

APR_OPTIONAL_FN_TYPE ( ap_logio_add_bytes_in  )
APR_OPTIONAL_FN_TYPE ( ap_logio_add_bytes_out  )
int h2_task_can_redo ( h2_task task)
h2_task* h2_task_create ( conn_rec c,
int  stream_id,
const struct h2_request req,
struct h2_bucket_beam input,
struct h2_bucket_beam output,
struct h2_mplx mplx 
)
void h2_task_destroy ( h2_task task)
apr_status_t h2_task_do ( h2_task task,
apr_thread_t thread,
int  worker_id 
)
apr_status_t h2_task_freeze ( h2_task task)
int h2_task_has_thawed ( h2_task task)
apr_status_t h2_task_init ( apr_pool_t pool,
server_rec s 
)
void h2_task_redo ( h2_task task)
void h2_task_register_hooks ( void  )
void h2_task_rst ( h2_task task,
int  error 
)

Reset the task with the given error code, resets all input/output.

apr_status_t h2_task_thaw ( h2_task task)