summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/strutl.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-26 12:02:40 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-26 12:02:40 +0200
commit5af23ac14695d7f09dcd5fa55d1c822de4a05718 (patch)
tree69fad33da1d4f16a78fe89b4f679ee647ce1aa59 /apt-pkg/contrib/strutl.h
parent38c19831778f9bedb8538a65ac5bafed29e1941c (diff)
parentcca2efe60edfae106380a55ee4fb561aa570f2c9 (diff)
merged from lp:~mvo/apt/mvo
Diffstat (limited to 'apt-pkg/contrib/strutl.h')
-rw-r--r--apt-pkg/contrib/strutl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h
index 89cbf0370..fba85cf94 100644
--- a/apt-pkg/contrib/strutl.h
+++ b/apt-pkg/contrib/strutl.h
@@ -39,6 +39,10 @@ bool ParseCWord(const char *&String,string &Res);
string QuoteString(const string &Str,const char *Bad);
string DeQuoteString(const string &Str);
string DeQuoteString(string::const_iterator const &begin, string::const_iterator const &end);
+
+// unescape (\0XX and \xXX) from a string
+string DeEscapeString(const string &input);
+
string SizeToStr(double Bytes);
string TimeToStr(unsigned long Sec);
string Base64Encode(const string &Str);