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

Adaptive Frame FastCGI Support. More...

#include "afw_server_fcgi_internal.h"
#include "afw.h"
#include "afw_request_impl.h"
#include <fcgiapp.h>
#include <apr_signal.h>
#include "afw_server_impl_declares.h"
#include "afw_server_fcgi_strings.h"
#include "generated/afw_server_fcgi_version_info.h"

Go to the source code of this file.

Macros

#define AFW_IMPLEMENTATION_ID   "fcgi"
 

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...
 
void impl_afw_server_release (const afw_server_t *instance, afw_xctx_t *xctx)
 
void impl_afw_server_run (const afw_server_t *instance, const afw_request_handler_t *handler, afw_xctx_t *xctx)
 

Detailed Description

Adaptive Frame FastCGI Support.

Definition in file afw_server_fcgi.c.

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.