/usr/lib/ocaml/eliom/client/eliom_unwrap.mli is in libeliom-ocaml-dev 2.2.2-1.
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 | (* Ocsigen
* http://www.ocsigen.org
* Copyright (C) 2011 Pierre Chambart
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, with linking exception;
* either version 2.1 of the License, or (at your option) any later version.
*
* This program 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
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*)
type unwrap_id
val register_unwrapper : unwrap_id -> ('a -> 'b) -> unit
(** [register_unwrapper id f] register an unwrapping function [f] to
be called when a value is marked with the id [id] *)
(** [unwrap s i] unmarshal [s] (starting at character [i]) and
transform the value [v] using registered wrappers. The marshalled
value must have been produced with [Marshal.to_string
(Eliom_wrap.wrap v)]. This function is for internal use only *)
val unwrap : string -> int -> 'a
(** [unwrap_js_var v] execute [unwrap] on the content of the javascript
variable [v] *)
val unwrap_js_var : string -> 'a
val id_of_int : int -> unwrap_id
|