Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
afw_server_fcgi_request.c File Reference

Implementation of afw_request interface for Fast CGI. More...

#include "afw_server_fcgi_internal.h"
#include "afw.h"
#include "afw_request_impl_declares.h"

Go to the source code of this file.

Macros

#define AFW_IMPLEMENTATION_ID   "afw_server_fcgi"
 
#define AFW_IMPLEMENTATION_SPECIFIC   NULL /* Change to &label if needed. */
 

Functions

afw_server_fcgi_internal_request_tafw_server_fcgi_internal_create_request (afw_server_fcgi_internal_t *server, FCGX_Request *fcgx_request, afw_xctx_t *xctx)
 
void impl_afw_request_release (const afw_request_t *instance, afw_xctx_t *xctx)
 
void impl_afw_request_set_error_info (const afw_request_t *instance, const afw_object_t *error_info, afw_xctx_t *xctx)
 
void impl_afw_request_read_raw_request_body (const afw_request_t *instance, afw_size_t buffer_size, void *buffer, afw_size_t *size, afw_boolean_t *more_to_read, afw_xctx_t *xctx)
 
void impl_afw_request_set_response_status_code (const afw_request_t *instance, const afw_utf8_t *code, const afw_utf8_t *reason, afw_xctx_t *xctx)
 
void impl_afw_request_write_response_header (const afw_request_t *instance, const afw_utf8_t *name, const afw_utf8_t *value, afw_xctx_t *xctx)
 
void impl_afw_request_write_raw_response_body (const afw_request_t *instance, apr_size_t size, const void *buffer, afw_xctx_t *xctx)
 
void impl_afw_request_flush_response (const afw_request_t *instance, afw_xctx_t *xctx)
 
void impl_afw_request_finish_response (const afw_request_t *instance, afw_xctx_t *xctx)
 

Detailed Description

Implementation of afw_request interface for Fast CGI.

Definition in file afw_server_fcgi_request.c.

Function Documentation

◆ afw_server_fcgi_internal_create_request()

afw_server_fcgi_internal_request_t* afw_server_fcgi_internal_create_request ( afw_server_fcgi_internal_t server,
FCGX_Request *  fcgx_request,
afw_xctx_t xctx 
)

Create an internal fcgi request.

Definition at line 62 of file afw_server_fcgi_request.c.