File: config_file.mli

package info (click to toggle)
approx 5.10-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 340 kB
  • sloc: ml: 2,220; sh: 42; makefile: 32
file content (17 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(* approx: proxy server for Debian archive files
   Copyright (C) 2014  Eric C. Cooper <ecc@cmu.edu>
   Released under the GNU General Public License *)

val read : string -> unit

val get : ?default:string -> string -> string
val get_int : ?default:int -> string -> int
val get_bool : ?default:bool -> string -> bool

val fold : (string -> string -> 'a -> 'a) -> 'a -> 'a

val iter : (string -> string -> unit) -> unit

(* For use by unit tests: remove all bindings *)

val reset : unit -> unit