summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:50:38 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:50:38 +0000
commit0149949bce07d3a15cb8a197df1240d56f7bcd26 (patch)
tree480da4e027332ba1d69d9e38a5bf67a0a946ea65 /apt-pkg/pkgcache.h
parentf55a958ff2251f0061ab907157c99a350e56025f (diff)
Checkpoint
Author: jgg Date: 1998-07-04 22:32:11 GMT Checkpoint
Diffstat (limited to 'apt-pkg/pkgcache.h')
-rw-r--r--apt-pkg/pkgcache.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h
index c8fe3a8de..3324a2aa2 100644
--- a/apt-pkg/pkgcache.h
+++ b/apt-pkg/pkgcache.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: pkgcache.h,v 1.2 1998/07/04 05:57:36 jgg Exp $
+// $Id: pkgcache.h,v 1.3 1998/07/04 22:32:12 jgg Exp $
/* ######################################################################
Cache - Structure definitions for the cache file
@@ -94,6 +94,9 @@ class pkgCache
inline unsigned long Hash(string S) const {return sHash(S);};
inline unsigned long Hash(const char *S) const {return sHash(S);};
+ // Usefull transformation things
+ const char *Priority(unsigned char Priority);
+
// Accessors
PkgIterator FindPkg(string Name);
Header &Head() {return *HeaderP;};