7 // Feed an indent struct into an ostream to get "indent_level" tabs
8 // and "align_spaces" spaces.
15 std::ostream &operator << (std::ostream &ostr, Indent &ind);
17 // Creates the specified directory, including all parent directories that
18 // do not yet exist. Gives the user an error if any component could not
19 // be created, or (if require_empty is set) if the final directory is not
22 void makepath(const char *path, bool require_empty = true);
24 // Turns an ASCII GUID into a binary GUID. Prints a message
25 // and throws a UserError if the ASCII GUID is invalid.
26 // guid_bin must point to a 16-byte region of memory.
28 void parse_guid(const char *guid_str, char *guid_bin);