1 #ifndef INCLUDED_LI_PLUGINS_H 2 #define INCLUDED_LI_PLUGINS_H 3 #include "first.h" 4 5 #include "base_decls.h" 6 7 __attribute_cold__ 8 int plugins_load(server *srv); 9 10 __attribute_cold__ 11 void plugins_free(server *srv); 12 13 handler_t plugins_call_handle_uri_clean(request_st *r); 14 handler_t plugins_call_handle_subrequest_start(request_st *r); 15 handler_t plugins_call_handle_response_start(request_st *r); 16 handler_t plugins_call_handle_request_env(request_st *r); 17 handler_t plugins_call_handle_request_done(request_st *r); 18 handler_t plugins_call_handle_docroot(request_st *r); 19 handler_t plugins_call_handle_physical(request_st *r); 20 handler_t plugins_call_handle_request_reset(request_st *r); 21 22 handler_t plugins_call_handle_connection_accept(connection *con); 23 handler_t plugins_call_handle_connection_shut_wr(connection *con); 24 handler_t plugins_call_handle_connection_close(connection *con); 25 26 void plugins_call_handle_trigger(server *srv); 27 handler_t plugins_call_handle_waitpid(server *srv, pid_t pid, int status); 28 29 __attribute_cold__ 30 void plugins_call_handle_sighup(server *srv); 31 32 __attribute_cold__ 33 handler_t plugins_call_init(server *srv); 34 35 __attribute_cold__ 36 handler_t plugins_call_set_defaults(server *srv); 37 38 __attribute_cold__ 39 handler_t plugins_call_worker_init(server *srv); 40 41 #endif 42