summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:15 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:15 +0000
commit3c124dde9567dd8c45d271bf2eaadffa5754f7d9 (patch)
tree0cefe5aba28047b08601f43a0f964b9a34cd9cdc /apt-pkg/pkgcache.h
parent0dbb95d810308d8dd102fba0303eed657f9f1cd2 (diff)
Supports no automatic
Author: jgg Date: 1998-12-14 08:07:28 GMT Supports no automatic
Diffstat (limited to 'apt-pkg/pkgcache.h')
-rw-r--r--apt-pkg/pkgcache.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h
index f959f4233..2d174cc01 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.14 1998/12/14 03:39:15 jgg Exp $
+// $Id: pkgcache.h,v 1.15 1998/12/14 08:07:29 jgg Exp $
/* ######################################################################
Cache - Structure definitions for the cache file
@@ -82,7 +82,7 @@ class pkgCache
{
enum PkgFlags {Auto=(1<<0),New=(1<<1),Obsolete=(1<<2),Essential=(1<<3),
ImmediateConf=(1<<4)};
- enum PkgFFlags {NotSource=(1<<0)};
+ enum PkgFFlags {NotSource=(1<<0),NotAutomatic=(1<<1)};
};
protected:
@@ -207,13 +207,11 @@ struct pkgCache::PackageFile
__apt_ptrloc Label; // Stringtable
__apt_ptrloc Architecture; // Stringtable
unsigned long Size;
- unsigned char NotAutomatic; // Bool
-
+ unsigned long Flags;
// Linked list
__apt_ptrloc NextFile; // PackageFile
unsigned short ID;
- unsigned long Flags;
time_t mtime; // Modification time for the file
};