diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-11-18 12:02:56 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-11-18 12:02:56 +0100 |
commit | 62e9c098df91e031913049f2011ce9bc71961a83 (patch) | |
tree | fc09ca10765f577debc428b03f0db1789c8bae58 /apt-pkg/contrib/strutl.h | |
parent | 7919ca7bb009b81976aad47d775d7afef67c23f3 (diff) | |
parent | 6f4574e8dbbabc6b9bb67b31edc765602b63a088 (diff) |
* merged lp:~mvo/apt/mvo, this brings two new commands:
- apt-get download binary-pkgname to download a deb
- apt-get changelog binary-pkgname to display the changelog
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));}; \ |