module R: sig
.. end
We register for each extension four functions:
- a function that will be called for each
virtual server, generating two functions:
- one that will be called to generate the pages
(from charset (string option) and request_info)
- one to parse the configuration file
- a function that will be called at the beginning
of the initialisation phase
- a function that will be called at the end of the initialisation phase
of the server
- a function that will create an error message from the exceptions
that may be raised during the initialisation phase, and raise again
all other exceptions
val register_extension : (Ocsimisc.virtual_hosts ->
(string option -> Extensions.request_info -> Extensions.answer Lwt.t) *
(string list -> Simplexmlparser.xml -> unit)) *
(unit -> unit) * (unit -> unit) * (exn -> string) -> unit