blob: f89e128cbca9608e5ad2a4b01117d8b3f0313473 (
plain)
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
|
(* $Id$ *)
(*s Files and load path. *)
val add_path : string -> unit
val del_path : string -> unit
val find_file_in_path : string -> string
(*s Generic input and output functions, parameterized by a magic number
and a suffix. The intern functions raise the exception [Bad_magic_number]
when the check fails, with the full file name. *)
exception Bad_magic_number of string
val raw_extern_intern : int -> string ->
(string -> string * out_channel) * (string -> string * in_channel)
val extern_intern : int -> string -> (string -> 'a -> unit) * (string -> 'a)
(*s Time stamps. *)
type time_stamp
val get_time_stamp : unit -> time_stamp
val compare_time_stamps : time_stamp -> time_stamp -> int
|