version 1.1, 2013/10/14 10:32:48
|
version 1.1.1.2, 2016/11/02 10:35:00
|
Line 1
|
Line 1
|
#ifndef _PLUGIN_H_ |
#ifndef _PLUGIN_H_ |
#define _PLUGIN_H_ |
#define _PLUGIN_H_ |
|
#include "first.h" |
|
|
#include "base.h" |
#include "base.h" |
#include "buffer.h" |
#include "buffer.h" |
Line 19
|
Line 20
|
#define SIGHUP_FUNC SERVER_FUNC |
#define SIGHUP_FUNC SERVER_FUNC |
|
|
#define SUBREQUEST_FUNC CONNECTION_FUNC |
#define SUBREQUEST_FUNC CONNECTION_FUNC |
#define JOBLIST_FUNC CONNECTION_FUNC |
|
#define PHYSICALPATH_FUNC CONNECTION_FUNC |
#define PHYSICALPATH_FUNC CONNECTION_FUNC |
#define REQUESTDONE_FUNC CONNECTION_FUNC |
#define REQUESTDONE_FUNC CONNECTION_FUNC |
#define URIHANDLER_FUNC CONNECTION_FUNC |
#define URIHANDLER_FUNC CONNECTION_FUNC |
Line 44 typedef struct {
|
Line 44 typedef struct {
|
handler_t (* handle_physical) (server *srv, connection *con, void *p_d); /* mapping url to physical path */ |
handler_t (* handle_physical) (server *srv, connection *con, void *p_d); /* mapping url to physical path */ |
handler_t (* handle_request_done) (server *srv, connection *con, void *p_d); /* at the end of a request */ |
handler_t (* handle_request_done) (server *srv, connection *con, void *p_d); /* at the end of a request */ |
handler_t (* handle_connection_close)(server *srv, connection *con, void *p_d); /* at the end of a connection */ |
handler_t (* handle_connection_close)(server *srv, connection *con, void *p_d); /* at the end of a connection */ |
handler_t (* handle_joblist) (server *srv, connection *con, void *p_d); /* after all events are handled */ |
|
|
|
|
|
|
|
Line 72 handler_t plugins_call_handle_request_done(server *srv
|
Line 71 handler_t plugins_call_handle_request_done(server *srv
|
handler_t plugins_call_handle_docroot(server *srv, connection *con); |
handler_t plugins_call_handle_docroot(server *srv, connection *con); |
handler_t plugins_call_handle_physical(server *srv, connection *con); |
handler_t plugins_call_handle_physical(server *srv, connection *con); |
handler_t plugins_call_handle_connection_close(server *srv, connection *con); |
handler_t plugins_call_handle_connection_close(server *srv, connection *con); |
handler_t plugins_call_handle_joblist(server *srv, connection *con); |
|
handler_t plugins_call_connection_reset(server *srv, connection *con); |
handler_t plugins_call_connection_reset(server *srv, connection *con); |
|
|
handler_t plugins_call_handle_trigger(server *srv); |
handler_t plugins_call_handle_trigger(server *srv); |
Line 82 handler_t plugins_call_init(server *srv);
|
Line 80 handler_t plugins_call_init(server *srv);
|
handler_t plugins_call_set_defaults(server *srv); |
handler_t plugins_call_set_defaults(server *srv); |
handler_t plugins_call_cleanup(server *srv); |
handler_t plugins_call_cleanup(server *srv); |
|
|
int config_insert_values_global(server *srv, array *ca, const config_values_t *cv); | int config_insert_values_global(server *srv, array *ca, const config_values_t *cv, config_scope_type_t scope); |
int config_insert_values_internal(server *srv, array *ca, const config_values_t *cv); | int config_insert_values_internal(server *srv, array *ca, const config_values_t *cv, config_scope_type_t scope); |
int config_setup_connection(server *srv, connection *con); | |
int config_patch_connection(server *srv, connection *con, comp_key_t comp); | |
int config_check_cond(server *srv, connection *con, data_config *dc); |
int config_check_cond(server *srv, connection *con, data_config *dc); |
int config_append_cond_match_buffer(connection *con, data_config *dc, buffer *buf, int n); |
int config_append_cond_match_buffer(connection *con, data_config *dc, buffer *buf, int n); |
|
|