interface for vmm_ring

This commit is contained in:
Hannes Mehnert 2018-10-24 01:10:35 +02:00
parent 04367421bf
commit cdae37b0bf
2 changed files with 11 additions and 1 deletions

View file

@ -8,4 +8,5 @@ Vmm_core
Vmm_resources
Vmm_trie
Vmm_unix
Vmm_compress
Vmm_compress
Vmm_ring

9
src/vmm_ring.mli Normal file
View file

@ -0,0 +1,9 @@
(* (c) 2018 Hannes Mehnert, all rights reserved *)
type t
val create : ?size:int -> unit -> t
val write : t -> Ptime.t * string -> unit
val read : t -> (Ptime.t * string) list
val read_history : t -> Ptime.t -> (Ptime.t * string) list