]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/strutl.h
support \n and \r\n line endings in ReadMessages
[apt.git] / apt-pkg / contrib / strutl.h
index 93f4bef4f383cb04e923199cbaaa969607de0910..e92f91dc0907ca102f17d90981e781ce355b23bf 100644 (file)
 
 #include "macros.h"
 
+#ifndef APT_8_CLEANER_HEADERS
+using std::string;
+using std::vector;
+using std::ostream;
+#endif
+
 bool UTF8ToCodeset(const char *codeset, const std::string &orig, std::string *dest);
 char *_strstrip(char *String);
+char *_strrstrip(char *String); // right strip only
 char *_strtabexpand(char *String,size_t Len);
 bool ParseQuoteWord(const char *&String,std::string &Res);
 bool ParseCWord(const char *&String,std::string &Res);