]>
git.saurik.com Git - apt.git/blob - apt-inst/deb/dpkgdb.h
f28563a934133af66a4b542b44285bbb464c74ca
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: dpkgdb.h,v 1.2 2001/02/20 07:03:17 jgg Exp $
4 /* ######################################################################
6 DPKGv1 Data Base Implemenation
8 The DPKGv1 database is typically stored in /var/lib/dpkg/. For
9 DPKGv1 the 'meta' information is the contents of the .deb control.tar.gz
10 member prepended by the package name. The meta information is unpacked
11 in its temporary directory and then migrated into the main list dir
14 Journaling is providing by syncronized file writes to the updates sub
17 ##################################################################### */
19 #ifndef PKGLIB_DPKGDB_H
20 #define PKGLIB_DPKGDB_H
23 #include <apt-pkg/database.h>
30 class debDpkgDB
: public pkgDataBase
35 DynamicMMap
*CacheMap
;
37 unsigned long DiverInode
;
38 signed long DiverTime
;
40 virtual bool InitMetaTmp(std::string
&Dir
);
41 bool ReadFList(OpProgress
&Progress
);
42 bool ReadDiversions();
47 virtual bool ReadyFileList(OpProgress
&Progress
);
48 virtual bool ReadyPkgCache(OpProgress
&Progress
);
49 virtual bool LoadChanges();