// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: pkgcache.h,v 1.14 1998/12/14 03:39:15 jgg Exp $
+// $Id: pkgcache.h,v 1.16 1999/02/01 02:22:11 jgg Exp $
/* ######################################################################
Cache - Structure definitions for the cache file
{
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:
__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
};
{
__apt_ptrloc VerStr; // Stringtable
__apt_ptrloc Section; // StringTable (StringItem)
-
+ __apt_ptrloc Arch; // StringTable
+
// Lists
__apt_ptrloc FileList; // VerFile
__apt_ptrloc NextVer; // Version