diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-09 10:50:32 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-09 10:50:32 +0200 |
commit | 1aa9b2974d33015102224ffb738b2e8e0a4bcb42 (patch) | |
tree | b8c164c9634d2c6cf6bc245cd6fce50f680dea78 /apt-pkg/tagfile.h | |
parent | 3c9772456931842dee211444086c15dd2e5f9a29 (diff) | |
parent | 3a882565a943644dcf7287c9673fb07f617fb851 (diff) |
* apt-pkg/pkgcache.h:
- switch {,Install-}Size to unsigned long long
- deal with long long, not with int to remove 2GB Limit (LP: #250909)
- deprecate AddSize with Multiplier as it is unused and switch to
boolean instead to handle the sizes more gracefully.
- switch i{Download,Usr}Size from double to (un)signed long long
* cmdline/apt-get.cc:
- use unsigned long long instead of double to store values it gets
Diffstat (limited to 'apt-pkg/tagfile.h')
-rw-r--r-- | apt-pkg/tagfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h index f63a51d07..6891c1d81 100644 --- a/apt-pkg/tagfile.h +++ b/apt-pkg/tagfile.h @@ -57,6 +57,7 @@ class pkgTagSection bool Find(const char *Tag,unsigned &Pos) const; string FindS(const char *Tag) const; signed int FindI(const char *Tag,signed long Default = 0) const ; + unsigned long long FindULL(const char *Tag, unsigned long long const &Default = 0) const; bool FindFlag(const char *Tag,unsigned long &Flags, unsigned long Flag) const; bool Scan(const char *Start,unsigned long MaxLength); |