/usr/lib/ocaml/galax/galax_io.mli is in libgalax-ocaml-dev 1.1-15build5.
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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | (***********************************************************************)
(* *)
(* GALAX *)
(* XQuery Engine *)
(* *)
(* Copyright 2001-2007. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: galax_io.mli,v 1.12 2007/08/01 18:06:30 simeon Exp $ *)
(* Module: Galax_io
Description:
This module is used to represent input and output methods for the
Galax engine.
*)
(****************************)
(* Galax I/O specifications *)
(****************************)
(* What kind of input ? *)
type input_spec =
| File_Input of string
| String_Input of string
| Buffer_Input of Netbuffer.t
| Http_Input of string
| Channel_Input of in_channel
(* What kind of output ? *)
type output_spec =
| File_Output of string
| Buffer_Output of Buffer.t
| Channel_Output of out_channel
| Formatter_Output of Format.formatter
(*********************)
(* PXP Parsing hooks *)
(*********************)
type pull_handle
type entity_kind = Document_entity | Document_fragment
type pxp_stream = (unit -> Pxp_types.event option) * pull_handle
val pull_parser_from_input_spec : input_spec -> entity_kind -> pxp_stream
val close_pull_parser : pull_handle -> unit
val dtd_from_input_spec : input_spec -> Pxp_dtd.dtd
val uri_string_of_gio : input_spec -> string option
val string_of_gio : input_spec -> string
|