]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/strutl.h
* apt-ftparchive might write corrupt Release files (LP: #46439)
[apt.git] / apt-pkg / contrib / strutl.h
index 6ec2b78119ece7a31a8085f25cfafc7a11eae845..53146ced7a9e6c71d293e01f851aa51ca703390c 100644 (file)
 #ifndef STRUTL_H
 #define STRUTL_H
 
-#ifdef __GNUG__
-#pragma interface "apt-pkg/strutl.h"
-#endif 
+
 
 #include <stdlib.h>
 #include <string>
+#include <cstring>
 #include <vector>
 #include <iostream>
 #include <time.h>
@@ -38,7 +37,8 @@ using std::ostream;
 #define APT_FORMAT2
 #define APT_FORMAT3
 #endif    
-    
+
+bool UTF8ToCodeset(const char *codeset, const string &orig, string *dest);
 char *_strstrip(char *String);
 char *_strtabexpand(char *String,size_t Len);
 bool ParseQuoteWord(const char *&String,string &Res);