configure: Detect camlp4 and bail if not available.
[guestfs-browser.git] / utils.mli
index ca792ca..ceff484 100644 (file)
--- a/utils.mli
+++ b/utils.mli
@@ -22,6 +22,7 @@ val (+^) : int64 -> int64 -> int64
 val (-^) : int64 -> int64 -> int64
 val ( *^ ) : int64 -> int64 -> int64
 val (/^) : int64 -> int64 -> int64
+val (&^) : int64 -> int64 -> int64
   (** Int64 arithmetic operators. *)
 
 type ('a, 'b) either = Left of 'a | Right of 'b
@@ -66,6 +67,7 @@ val pretty_string_of_exn : exn -> string * string
       To get raw exception string, use {!Printexc.to_string} from the
       standard library. *)
 
+val utf8_copyright : string (** UTF-8 copyright symbol *)
 val utf8_rarrow : string (** UTF-8 RIGHTWARDS ARROW *)
 
 val human_size : int64 -> string
@@ -117,6 +119,9 @@ val is_wo : int64 -> bool
 val is_xo : int64 -> bool
   (** rwx/ugo bits. *)
 
+val file_permissions_string : int64 -> string
+  (** Convert [0755] to [-rwxr-xr-x] etc. *)
+
 val tmpdir : unit -> string
   (** [tmpdir ()] returns a newly created temporary directory.  The
       tmp directory is automatically removed when the program exits.