#include "apr_dso.h"
#include "apache_handler.h"
#include "apache_protocol.h"
#include "apache_filters.h"
Defines | |
#define | EXPORT_MODCPP |
#define | CALL_REQ_FUNCTION(function_name) |
Functions | |
ApacheHandler * | get_handler (ApacheRequestRec *pRequest, char *name) |
int | cpp_call_handler (request_rec *r) |
int | cpp_call_fixups (request_rec *r) |
int | cpp_call_post_read_request (request_rec *r) |
int | cpp_call_translate_name (request_rec *r) |
int | cpp_call_header_parser (request_rec *r) |
int | cpp_call_access_checker (request_rec *r) |
int | cpp_call_auth_checker (request_rec *r) |
int | cpp_call_check_user_id (request_rec *r) |
int | cpp_call_type_checker (request_rec *r) |
int | cpp_call_logger (request_rec *r) |
static apr_status_t | delete_handler (void *data) |
static apr_status_t | delete_input_filter (void *data) |
static apr_status_t | delete_output_filter (void *data) |
static apr_status_t | delete_protocol_handler (void *data) |
char * | load_cpp_module (apr_pool_t *pool, cpp_server_rec *server_rec, const char *name, const char *path) |
|
Value: int result = DECLINED; \ ApacheRequestRec *pRequest = new ApacheRequestRec(r); \ cpp_config_rec *dir_rec = (cpp_config_rec *) \ pRequest->get_dir_config(&cplusplus_module); \ char **cur_handler = dir_rec->handlers; \ while( cur_handler != NULL && *cur_handler != NULL ) { \ ApacheHandler *handler = get_handler(pRequest, *cur_handler); \ if( !handler ) { \ result = DECLINED; \ } else { \ result = handler->function_name(pRequest); \ } \ if( result != DECLINED ) { \ break; \ } \ cur_handler++; \ } \ delete pRequest; \ return result; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|