summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/strutl.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-18 18:26:56 +0200
committerMichael Vogt <mvo@debian.org>2013-10-18 18:26:56 +0200
commit65dbd5a1a32f63dae81c8b5814cd246f1154c38d (patch)
tree1fb99e95a46aa784f15ccd9f4c402b36134dfae0 /apt-pkg/contrib/strutl.h
parent34d6563ef47b455b69a7bc9ad0838902bb911dea (diff)
re-add missing APT::String::Strip
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