1 /* LBS: An LFS-inspired filesystem backup system
2 * Copyright (C) 2006 Michael Vrable
4 * Utility functions for converting various datatypes to text format (and
5 * later, for parsing them back, perhaps).
15 std::string uri_encode(const std::string &in);
16 std::string uri_decode(const std::string &in);
17 std::string encode_int(long long n);
18 void dict_output(std::ostream &o, std::map<std::string, std::string> dict);
20 long long parse_int(const std::string &s);
22 #endif // _LBS_TARSTORE_H