summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/strutl.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-18 08:10:29 +0200
committerMichael Vogt <mvo@debian.org>2013-10-18 08:10:29 +0200
commit2842f8f3e31fbec8c53ce40f15ff0c76f021f030 (patch)
tree4372d777894e79b0b7959bc22d4855986de0207c /apt-pkg/contrib/strutl.h
parentc420fe0096985234e861aaafc2b9908b6259a1bb (diff)
add APT::String::Strip(), start cleanup of ProcessDpkgStatusLine
Diffstat (limited to 'apt-pkg/contrib/strutl.h')
-rw-r--r--apt-pkg/contrib/strutl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h
index b42e06491..c8fc317c0 100644
--- a/apt-pkg/contrib/strutl.h
+++ b/apt-pkg/contrib/strutl.h
@@ -33,6 +33,13 @@ using std::vector;
using std::ostream;
#endif
+namespace APT {
+ namespace String {
+ std::string Strip(const std::string &s);
+ };
+};
+
+
bool UTF8ToCodeset(const char *codeset, const std::string &orig, std::string *dest);
char *_strstrip(char *String);
char *_strrstrip(char *String); // right strip only