Add XapiDb
This commit is contained in:
parent
6c2875bb6b
commit
85971fc1a0
6 changed files with 161 additions and 9 deletions
12
lib/xapidb.mli
Normal file
12
lib/xapidb.mli
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
type e (* an element of the database *)
|
||||
type t (* the database *)
|
||||
|
||||
val from_channel : in_channel -> t
|
||||
(** [from_file ic] reads XML from the input channel and build a relational
|
||||
database *)
|
||||
|
||||
val size : t -> int
|
||||
(** [size t] returns the number of entries in the database *)
|
||||
|
||||
val get_ref : t -> ref:string -> e list
|
||||
val elt_to_string : e -> string
|
||||
Loading…
Add table
Add a link
Reference in a new issue