cacheiterators.h | cacheiterators.h | |||
---|---|---|---|---|
skipping to change at line 288 | skipping to change at line 288 | |||
inline const char *TargetVer() const {return S->Version == 0?0:Owner ->StrP + S->Version;}; | inline const char *TargetVer() const {return S->Version == 0?0:Owner ->StrP + S->Version;}; | |||
inline PkgIterator TargetPkg() const {return PkgIterator(*Owner,Owne r->PkgP + S->Package);}; | inline PkgIterator TargetPkg() const {return PkgIterator(*Owner,Owne r->PkgP + S->Package);}; | |||
inline PkgIterator SmartTargetPkg() const {PkgIterator R(*Owner,0);S martTargetPkg(R);return R;}; | inline PkgIterator SmartTargetPkg() const {PkgIterator R(*Owner,0);S martTargetPkg(R);return R;}; | |||
inline VerIterator ParentVer() const {return VerIterator(*Owner,Owne r->VerP + S->ParentVer);}; | inline VerIterator ParentVer() const {return VerIterator(*Owner,Owne r->VerP + S->ParentVer);}; | |||
inline PkgIterator ParentPkg() const {return PkgIterator(*Owner,Owne r->PkgP + Owner->VerP[S->ParentVer].ParentPkg);}; | inline PkgIterator ParentPkg() const {return PkgIterator(*Owner,Owne r->PkgP + Owner->VerP[S->ParentVer].ParentPkg);}; | |||
inline bool Reverse() const {return Type == DepRev;}; | inline bool Reverse() const {return Type == DepRev;}; | |||
bool IsCritical() const; | bool IsCritical() const; | |||
bool IsNegative() const; | bool IsNegative() const; | |||
bool IsIgnorable(PrvIterator const &Prv) const; | bool IsIgnorable(PrvIterator const &Prv) const; | |||
bool IsIgnorable(PkgIterator const &Pkg) const; | bool IsIgnorable(PkgIterator const &Pkg) const; | |||
bool IsMultiArchImplicit() const; | ||||
void GlobOr(DepIterator &Start,DepIterator &End); | void GlobOr(DepIterator &Start,DepIterator &End); | |||
Version **AllTargets() const; | Version **AllTargets() const; | |||
bool SmartTargetPkg(PkgIterator &Result) const; | bool SmartTargetPkg(PkgIterator &Result) const; | |||
inline const char *CompType() const {return Owner->CompType(S->Compa reOp);}; | inline const char *CompType() const {return Owner->CompType(S->Compa reOp);}; | |||
inline const char *DepType() const {return Owner->DepType(S->Type);} ; | inline const char *DepType() const {return Owner->DepType(S->Type);} ; | |||
//Nice printable representation | //Nice printable representation | |||
friend std::ostream& operator <<(std::ostream& out, DepIterator D); | friend std::ostream& operator <<(std::ostream& out, DepIterator D); | |||
inline DepIterator(pkgCache &Owner, Dependency *Trg, Version* = 0) : | inline DepIterator(pkgCache &Owner, Dependency *Trg, Version* = 0) : | |||
skipping to change at line 332 | skipping to change at line 333 | |||
(Type == PrvVer?S->NextPkgProv:S->NextProvides);}; | (Type == PrvVer?S->NextPkgProv:S->NextProvides);}; | |||
inline void operator ++() {operator ++(0);}; | inline void operator ++() {operator ++(0);}; | |||
// Accessors | // Accessors | |||
inline const char *Name() const {return Owner->StrP + Owner->PkgP[S- >ParentPkg].Name;}; | inline const char *Name() const {return Owner->StrP + Owner->PkgP[S- >ParentPkg].Name;}; | |||
inline const char *ProvideVersion() const {return S->ProvideVersion == 0?0:Owner->StrP + S->ProvideVersion;}; | inline const char *ProvideVersion() const {return S->ProvideVersion == 0?0:Owner->StrP + S->ProvideVersion;}; | |||
inline PkgIterator ParentPkg() const {return PkgIterator(*Owner,Owne r->PkgP + S->ParentPkg);}; | inline PkgIterator ParentPkg() const {return PkgIterator(*Owner,Owne r->PkgP + S->ParentPkg);}; | |||
inline VerIterator OwnerVer() const {return VerIterator(*Owner,Owner ->VerP + S->Version);}; | inline VerIterator OwnerVer() const {return VerIterator(*Owner,Owner ->VerP + S->Version);}; | |||
inline PkgIterator OwnerPkg() const {return PkgIterator(*Owner,Owner ->PkgP + Owner->VerP[S->Version].ParentPkg);}; | inline PkgIterator OwnerPkg() const {return PkgIterator(*Owner,Owner ->PkgP + Owner->VerP[S->Version].ParentPkg);}; | |||
inline PrvIterator() : Iterator<Provides, PrvIterator>(), Type(PrvVe r) {}; | bool IsMultiArchImplicit() const; | |||
inline PrvIterator() : Iterator<Provides, PrvIterator>(), Type(PrvVe r) {}; | ||||
inline PrvIterator(pkgCache &Owner, Provides *Trg, Version*) : | inline PrvIterator(pkgCache &Owner, Provides *Trg, Version*) : | |||
Iterator<Provides, PrvIterator>(Owner, Trg), Type(PrvVer) { | Iterator<Provides, PrvIterator>(Owner, Trg), Type(PrvVer) { | |||
if (S == 0) | if (S == 0) | |||
S = Owner.ProvideP; | S = Owner.ProvideP; | |||
}; | }; | |||
inline PrvIterator(pkgCache &Owner, Provides *Trg, Package*) : | inline PrvIterator(pkgCache &Owner, Provides *Trg, Package*) : | |||
Iterator<Provides, PrvIterator>(Owner, Trg), Type(PrvPkg) { | Iterator<Provides, PrvIterator>(Owner, Trg), Type(PrvPkg) { | |||
if (S == 0) | if (S == 0) | |||
S = Owner.ProvideP; | S = Owner.ProvideP; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 3 lines changed or added | |||
config.h | config.h | |||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
/* Define to the size of the filesize containing structures */ | /* Define to the size of the filesize containing structures */ | |||
#define _FILE_OFFSET_BITS 64 | #define _FILE_OFFSET_BITS 64 | |||
/* Define the arch name string */ | /* Define the arch name string */ | |||
#define COMMON_ARCH "i386" | #define COMMON_ARCH "i386" | |||
/* The package name string */ | /* The package name string */ | |||
#define PACKAGE "apt" | #define PACKAGE "apt" | |||
/* The version number string */ | /* The version number string */ | |||
#define PACKAGE_VERSION "0.9.5.1" | #define PACKAGE_VERSION "0.9.6" | |||
/* The mail address to reach upstream */ | /* The mail address to reach upstream */ | |||
#define PACKAGE_MAIL "APT Development Team <deity@lists.debian.org>" | #define PACKAGE_MAIL "APT Development Team <deity@lists.debian.org>" | |||
#define APT_8_CLEANER_HEADERS | #define APT_8_CLEANER_HEADERS | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||