/usr/lib/ocaml/netcgi2/netcgi_test.mli is in libocamlnet-ocaml-dev 4.0.4-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | (* netcgi_test.mli
Copyright (C) 2005-2006
Christophe Troestler
email: Christophe.Troestler@umh.ac.be
WWW: http://math.umh.ac.be/an/
This library is free software; see the file LICENSE for more information.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file
LICENSE for more details.
*)
(** Connector for testing your code.
*
* This is to be developed. There are several ways to go about this
* and it is not clear which one to take.
*
* @version $Id: netcgi_test.mli,v 1.7 2005/10/13 17:54:49 chris_77 Exp $
*)
(* Recommend:
ab: Apache Benchmark (apache2-utils)
w3c: The W3C Command Line Tool (part of libwww0)
*)
open Netcgi
val run :
?config:config ->
?output_type:output_type ->
?arg_store:arg_store ->
?args:cgi_argument list ->
(cgi -> unit) -> unit
(* More flexibility is definitely required here -- along the lines
of [custom_environment]. I am thinking one could e.g. be general
enough to allow the output to be set into a frame, and another
frame being used for control, logging,... -- a debugger embedded
in the web page... *)
|