summaryrefslogtreecommitdiff
path: root/src/startup.mli
blob: c32ddea78a9d50d3061d36891493e400e32860e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
val panic : string -> 'a

val setup_logger : bool -> string option -> Lwt_log.template -> unit Lwt.t

val load_daemon_config : string -> Vyconf_config.t

val check_dirs : Directories.t -> unit

val create_socket : string -> Lwt_unix.file_descr Lwt.t

val create_server :
    (Lwt_unix.file_descr * Lwt_unix.sockaddr -> unit Lwt.t) ->
    Lwt_unix.file_descr -> unit -> 'a Lwt.t

val load_config : string -> (Config_tree.t, string) result

val load_config_failsafe : string -> string -> Config_tree.t

val load_interface_definitions : string -> (Reference_tree.t, string) result