Adding some library functions that'll facilitate the creation of vsys scripts.
[vsys.git] / globals.ml
index 8b006c3..3ea4a32 100644 (file)
@@ -1,8 +1,12 @@
+(** Some things that didn't fit in elsewhere *)
 let backend = ref ""
 let debug = ref true
 let vsys_version = "0.5"
+let nochroot = ref false
 
-type fd_and_fname = string option * Unix.file_descr
+type result = Success | Failed
+
+type fname_and_fd = string option * Unix.file_descr
 
 (* Relative path, never precededed by a '/' *)
 type relpath = Relpath of string