*)
exception Parse_error of string * int * int * string
- (** raised when a given <key,value> pair fails validity test(s)
- * @param pair <key,value> pair
- * @param descr description of the failed test *)
-exception Invalid_value of (string * string) * string
-
(** {2 Generic untyped interface}
* Using the functions below this module could be used as a repository of
* key/value pairs *)
(** never fails with Key_not_found, instead return the empty list *)
val get_list: (string -> 'a) -> string -> 'a list
+ (** decode values which are blank separated list of values, of length 2 *)
+val get_pair: (string -> 'a) -> (string -> 'b) -> string -> 'a * 'b
+
(** {4 Shorthands} *)
val get_string: string -> string
*)
val load_from: ?path:string list -> string -> unit
+ (** removes all keys *)
+val clear: unit -> unit
+