Module Xenstore_server.Connection
val info : ('a, unit, string, unit) Stdlib.format4 -> 'b
val error : ('a, unit, string, unit) Stdlib.format4 -> 'b
type watch = {
con : t;
token : string;
name : Store.Name.t;
mutable count : int;
}
and t = {
address : Xs_protocol.address;
interface : (module Namespace.IO) option;
domid : int;
domstr : string;
idx : int;
transactions : (int32, Transaction.t) Stdlib.Hashtbl.t;
mutable next_tid : int32;
watches : (Store.Name.t, watch list) Stdlib.Hashtbl.t;
mutable nb_watches : int;
mutable nb_dropped_watches : int;
mutable stat_nb_ops : int;
mutable perm : Perms.t;
watch_events : (string * string) Stdlib.Queue.t;
cvar : unit Lwt_condition.t;
domainpath : Store.Path.t;
}
val by_index : (int, t) Stdlib.Hashtbl.t
val list_of_watches : unit -> string list
val number_of_transactions : t -> int
val anon_id_next : int Stdlib.ref
val counter : int Stdlib.ref
val restrict : t -> int -> unit
val find_next_tid : t -> int32
val register_transaction : t -> Store.t -> int32
val unregister_transaction : t -> int32 -> unit
val mark_symbols : t -> unit
val stats : t -> int * int