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