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

Internal header file for AFW FCGI Server. More...

#include "fcgiapp.h"
#include "afw_minimal.h"
#include "afw_request.h"

Go to the source code of this file.

Data Structures

struct  afw_server_fcgi_internal_s
 
struct  afw_server_fcgi_internal_server_thread_s
 
struct  afw_server_fcgi_internal_request_s
 

Macros

#define AFW_ERROR_RV_SOURCE_ID_Z_fcgi   "fcgi"
 

Typedefs

typedef struct afw_server_fcgi_internal_s afw_server_fcgi_internal_t
 
typedef struct afw_server_fcgi_internal_request_s afw_server_fcgi_internal_request_t
 
typedef struct afw_server_fcgi_internal_server_thread_s afw_server_fcgi_internal_server_thread_t
 

Functions

const afw_server_tafw_server_fcgi_internal_create (const char *path, afw_integer_t thread_count, afw_xctx_t *xctx)
 Create an FCGI afw_server. More...
 
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)
 
const afw_object_tafw_server_fcgi_internal_create_properties_object (afw_server_fcgi_internal_request_t *request, afw_xctx_t *xctx)
 

Detailed Description

Internal header file for AFW FCGI Server.

Definition in file afw_server_fcgi_internal.h.

Macro Definition Documentation

◆ AFW_ERROR_RV_SOURCE_ID_Z_fcgi

#define AFW_ERROR_RV_SOURCE_ID_Z_fcgi   "fcgi"

fcgi rv source id

Definition at line 88 of file afw_server_fcgi_internal.h.

Function Documentation

◆ afw_server_fcgi_internal_create()

const afw_server_t* afw_server_fcgi_internal_create ( const char *  path,
afw_integer_t  thread_count,
afw_xctx_t xctx 
)

Create an FCGI afw_server.

Parameters
pathto FCGI server. Default ":9345".
thread_countnumber of threads.
xctxexecution context.
Returns
Pointer to interface pointer of new server.
Todo:
FIXME: Removed for now because not working fully apr_signal(SIGTERM, impl_handle_sigterm);

Definition at line 55 of file afw_server_fcgi.c.

◆ afw_server_fcgi_internal_create_properties_object()

const afw_object_t* afw_server_fcgi_internal_create_properties_object ( afw_server_fcgi_internal_request_t request,
afw_xctx_t xctx 
)

Create an internal fcgi request.

Definition at line 32 of file afw_server_fcgi_properties_object.c.

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