summaryrefslogtreecommitdiff
path: root/src/vyconf_client.mli
blob: 87fffdd61f94ccfcb02b38725faf78b097816e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
type t

type status =
  | Success 
  | Fail 
  | Invalid_path 
  | Invalid_value 
  | Commit_in_progress 
  | Configuration_locked 
  | Internal_error 
  | Permission_denied 
  | Path_already_exists 

type response = {
  status : status;
  output : string option;
  error : string option;
  warning : string option;
}


val create : string -> t Lwt.t

val shutdown : t -> t Lwt.t

val get_status : t -> response Lwt.t