diff options
author | Michael Vogt <mvo@debian.org> | 2011-02-02 22:49:41 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2011-02-02 22:49:41 +0100 |
commit | 7c748f4aa1bd47089672353fd1a401d1c5c94723 (patch) | |
tree | 633dd1ca8e7e40cfa25d6227d9859b04bd9d1fad /apt-pkg/contrib/strutl.h | |
parent | a92392501b5981b41da8497a99f5964e2f6075b0 (diff) | |
parent | 7763525dea18d978a1df8eee4a517314ae49ca71 (diff) |
merged from the lp:~mvo/apt/mvo branch
Diffstat (limited to 'apt-pkg/contrib/strutl.h')
-rw-r--r-- | apt-pkg/contrib/strutl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h index a457ff047..14cf5c943 100644 --- a/apt-pkg/contrib/strutl.h +++ b/apt-pkg/contrib/strutl.h @@ -61,6 +61,7 @@ void strprintf(string &out,const char *format,...) __like_printf(2); char *safe_snprintf(char *Buffer,char *End,const char *Format,...) __like_printf(3); bool CheckDomainList(const string &Host, const string &List); int tolower_ascii(int const c) __attrib_const __hot; +string StripEpoch(const string &VerStr); #define APT_MKSTRCMP(name,func) \ inline int name(const char *A,const char *B) {return func(A,A+strlen(A),B,B+strlen(B));}; \ |