config.h | config.h | |||
---|---|---|---|---|
skipping to change at line 41 | skipping to change at line 41 | |||
/* Define if we have enabled pthread support */ | /* Define if we have enabled pthread support */ | |||
/* #undef HAVE_PTHREAD */ | /* #undef HAVE_PTHREAD */ | |||
/* If there is no socklen_t, define this for the netdb shim */ | /* If there is no socklen_t, define this for the netdb shim */ | |||
/* #undef NEED_SOCKLEN_T_DEFINE */ | /* #undef NEED_SOCKLEN_T_DEFINE */ | |||
/* Define the arch name string */ | /* Define the arch name string */ | |||
#define COMMON_ARCH "i386" | #define COMMON_ARCH "i386" | |||
/* The version number string */ | /* The version number string */ | |||
#define VERSION "0.8.15.3" | #define VERSION "0.8.15.4" | |||
/* The package name string */ | /* The package name string */ | |||
#define PACKAGE "apt" | #define PACKAGE "apt" | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
strutl.h | strutl.h | |||
---|---|---|---|---|
skipping to change at line 40 | skipping to change at line 40 | |||
using std::ostream; | using std::ostream; | |||
bool UTF8ToCodeset(const char *codeset, const string &orig, string *dest); | bool UTF8ToCodeset(const char *codeset, const string &orig, string *dest); | |||
char *_strstrip(char *String); | char *_strstrip(char *String); | |||
char *_strtabexpand(char *String,size_t Len); | char *_strtabexpand(char *String,size_t Len); | |||
bool ParseQuoteWord(const char *&String,string &Res); | bool ParseQuoteWord(const char *&String,string &Res); | |||
bool ParseCWord(const char *&String,string &Res); | bool ParseCWord(const char *&String,string &Res); | |||
string QuoteString(const string &Str,const char *Bad); | string QuoteString(const string &Str,const char *Bad); | |||
string DeQuoteString(const string &Str); | string DeQuoteString(const string &Str); | |||
string DeQuoteString(string::const_iterator const &begin, string::const_ite rator const &end); | string DeQuoteString(string::const_iterator const &begin, string::const_ite rator const &end); | |||
// unescape (\0XX and \xXX) from a string | ||||
string DeEscapeString(const string &input); | ||||
string SizeToStr(double Bytes); | string SizeToStr(double Bytes); | |||
string TimeToStr(unsigned long Sec); | string TimeToStr(unsigned long Sec); | |||
string Base64Encode(const string &Str); | string Base64Encode(const string &Str); | |||
string OutputInDepth(const unsigned long Depth, const char* Separator=" ") ; | string OutputInDepth(const unsigned long Depth, const char* Separator=" ") ; | |||
string URItoFileName(const string &URI); | string URItoFileName(const string &URI); | |||
string TimeRFC1123(time_t Date); | string TimeRFC1123(time_t Date); | |||
bool RFC1123StrToTime(const char* const str,time_t &time) __must_check; | bool RFC1123StrToTime(const char* const str,time_t &time) __must_check; | |||
bool FTPMDTMStrToTime(const char* const str,time_t &time) __must_check; | bool FTPMDTMStrToTime(const char* const str,time_t &time) __must_check; | |||
__deprecated bool StrToTime(const string &Val,time_t &Result); | __deprecated bool StrToTime(const string &Val,time_t &Result); | |||
string LookupTag(const string &Message,const char *Tag,const char *Default = 0); | string LookupTag(const string &Message,const char *Tag,const char *Default = 0); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||