returned as a generic widget. *)
val markup_escape : string -> string
- (** Call g_markup_escape. *)
+ (** Like g_markup_escape but with extra protection for strings
+ containing \0 characters. *)
val libguestfs_version_string : unit -> string
(** Return the version of libguestfs as a string. *)
val is_wo : int64 -> bool
val is_xo : int64 -> bool
(** rwx/ugo bits. *)
+
+val tmpdir : unit -> string
+ (** [tmpdir ()] returns a newly created temporary directory. The
+ tmp directory is automatically removed when the program exits.
+ Note that a fresh temporary directory is returned each time you
+ call this function. *)
+
+val i32_of_string_le : string -> int32
+ (** [i32_of_string_le str] treats the 4 character string [str] as
+ a little endian 32 bit int. NB. The string {b must} be
+ 4 characters or longer. *)
+
+val i32_of_string_be : string -> int32
+ (** [i32_of_string_le str] treats the 4 character string [str] as
+ a big endian 32 bit int. NB. The string {b must} be
+ 4 characters or longer. *)
+
+val i64_of_string_le : string -> int64
+ (** [i64_of_string_le str] treats the 8 character string [str] as
+ a little endian 64 bit int. NB. The string {b must} be
+ 8 characters or longer. *)