cachefile.h | cachefile.h | |||
---|---|---|---|---|
skipping to change at line 59 | skipping to change at line 59 | |||
inline unsigned char &operator [](pkgCache::DepIterator const &I) {retur n (*DCache)[I];}; | inline unsigned char &operator [](pkgCache::DepIterator const &I) {retur n (*DCache)[I];}; | |||
bool BuildCaches(OpProgress *Progress = NULL,bool WithLock = true); | bool BuildCaches(OpProgress *Progress = NULL,bool WithLock = true); | |||
__deprecated bool BuildCaches(OpProgress &Progress,bool const &WithLock = true) { return BuildCaches(&Progress, WithLock); }; | __deprecated bool BuildCaches(OpProgress &Progress,bool const &WithLock = true) { return BuildCaches(&Progress, WithLock); }; | |||
bool BuildSourceList(OpProgress *Progress = NULL); | bool BuildSourceList(OpProgress *Progress = NULL); | |||
bool BuildPolicy(OpProgress *Progress = NULL); | bool BuildPolicy(OpProgress *Progress = NULL); | |||
bool BuildDepCache(OpProgress *Progress = NULL); | bool BuildDepCache(OpProgress *Progress = NULL); | |||
bool Open(OpProgress *Progress = NULL, bool WithLock = true); | bool Open(OpProgress *Progress = NULL, bool WithLock = true); | |||
inline bool ReadOnlyOpen(OpProgress *Progress = NULL) { return Open(Prog ress, false); }; | inline bool ReadOnlyOpen(OpProgress *Progress = NULL) { return Open(Prog ress, false); }; | |||
__deprecated bool Open(OpProgress &Progress,bool const &WithLock = true) { return Open(&Progress, WithLock); }; | __deprecated bool Open(OpProgress &Progress,bool const &WithLock = true) { return Open(&Progress, WithLock); }; | |||
static void RemoveCaches(); | ||||
void Close(); | void Close(); | |||
inline pkgCache* GetPkgCache() { BuildCaches(NULL, false); return Cache; }; | inline pkgCache* GetPkgCache() { BuildCaches(NULL, false); return Cache; }; | |||
inline pkgDepCache* GetDepCache() { BuildDepCache(); return DCache; }; | inline pkgDepCache* GetDepCache() { BuildDepCache(); return DCache; }; | |||
inline pkgPolicy* GetPolicy() { BuildPolicy(); return Policy; }; | inline pkgPolicy* GetPolicy() { BuildPolicy(); return Policy; }; | |||
inline pkgSourceList* GetSourceList() { BuildSourceList(); return SrcLis t; }; | inline pkgSourceList* GetSourceList() { BuildSourceList(); return SrcLis t; }; | |||
inline bool IsPkgCacheBuilt() const { return (Cache != NULL); }; | inline bool IsPkgCacheBuilt() const { return (Cache != NULL); }; | |||
inline bool IsDepCacheBuilt() const { return (DCache != NULL); }; | inline bool IsDepCacheBuilt() const { return (DCache != NULL); }; | |||
inline bool IsPolicyBuilt() const { return (Policy != NULL); }; | inline bool IsPolicyBuilt() const { return (Policy != NULL); }; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
config.h | config.h | |||
---|---|---|---|---|
skipping to change at line 41 | skipping to change at line 41 | |||
/* Define if we have enabled pthread support */ | /* Define if we have enabled pthread support */ | |||
/* #undef HAVE_PTHREAD */ | /* #undef HAVE_PTHREAD */ | |||
/* If there is no socklen_t, define this for the netdb shim */ | /* If there is no socklen_t, define this for the netdb shim */ | |||
/* #undef NEED_SOCKLEN_T_DEFINE */ | /* #undef NEED_SOCKLEN_T_DEFINE */ | |||
/* Define the arch name string */ | /* Define the arch name string */ | |||
#define COMMON_ARCH "i386" | #define COMMON_ARCH "i386" | |||
/* The version number string */ | /* The version number string */ | |||
#define VERSION "0.8.15.6" | #define VERSION "0.8.15.7" | |||
/* The package name string */ | /* The package name string */ | |||
#define PACKAGE "apt" | #define PACKAGE "apt" | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
orderlist.h | orderlist.h | |||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
indicating some useful things about it that are derived in the | indicating some useful things about it that are derived in the | |||
course of sorting. The pkgPackageManager class uses this class for | course of sorting. The pkgPackageManager class uses this class for | |||
all of it's installation ordering needs. | all of it's installation ordering needs. | |||
##################################################################### */ | ##################################################################### */ | |||
/*}} }*/ | /*}} }*/ | |||
#ifndef PKGLIB_ORDERLIST_H | #ifndef PKGLIB_ORDERLIST_H | |||
#define PKGLIB_ORDERLIST_H | #define PKGLIB_ORDERLIST_H | |||
#include <apt-pkg/pkgcache.h> | #include <apt-pkg/pkgcache.h> | |||
#include <apt-pkg/macros.h> | ||||
class pkgDepCache; | class pkgDepCache; | |||
class pkgOrderList : protected pkgCache::Namespace | class pkgOrderList : protected pkgCache::Namespace | |||
{ | { | |||
protected: | protected: | |||
pkgDepCache &Cache; | pkgDepCache &Cache; | |||
typedef bool (pkgOrderList::*DepFunc)(DepIterator D); | typedef bool (pkgOrderList::*DepFunc)(DepIterator D); | |||
// These are the currently selected ordering functions | // These are the currently selected ordering functions | |||
skipping to change at line 47 | skipping to change at line 48 | |||
Package **List; | Package **List; | |||
Package **AfterEnd; | Package **AfterEnd; | |||
string *FileList; | string *FileList; | |||
DepIterator Loops[20]; | DepIterator Loops[20]; | |||
int LoopCount; | int LoopCount; | |||
int Depth; | int Depth; | |||
unsigned short *Flags; | unsigned short *Flags; | |||
bool Debug; | bool Debug; | |||
// Main visit function | // Main visit function | |||
bool VisitNode(PkgIterator Pkg); | __deprecated bool VisitNode(PkgIterator Pkg) { return VisitNode(Pkg, "UN | |||
KNOWN"); }; | ||||
bool VisitNode(PkgIterator Pkg, char const* from); | ||||
bool VisitDeps(DepFunc F,PkgIterator Pkg); | bool VisitDeps(DepFunc F,PkgIterator Pkg); | |||
bool VisitRDeps(DepFunc F,PkgIterator Pkg); | bool VisitRDeps(DepFunc F,PkgIterator Pkg); | |||
bool VisitRProvides(DepFunc F,VerIterator Ver); | bool VisitRProvides(DepFunc F,VerIterator Ver); | |||
bool VisitProvides(DepIterator Pkg,bool Critical); | bool VisitProvides(DepIterator Pkg,bool Critical); | |||
// Dependency checking functions. | // Dependency checking functions. | |||
bool DepUnPackCrit(DepIterator D); | bool DepUnPackCrit(DepIterator D); | |||
bool DepUnPackPreD(DepIterator D); | bool DepUnPackPreD(DepIterator D); | |||
bool DepUnPackPre(DepIterator D); | bool DepUnPackPre(DepIterator D); | |||
bool DepUnPackDep(DepIterator D); | bool DepUnPackDep(DepIterator D); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added | |||