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.13.2" | #define VERSION "0.8.14" | |||
/* 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 | |||
pkgcache.h | pkgcache.h | |||
---|---|---|---|---|
skipping to change at line 217 | skipping to change at line 217 | |||
static const char *CompTypeDeb(unsigned char Comp); | static const char *CompTypeDeb(unsigned char Comp); | |||
static const char *CompType(unsigned char Comp); | static const char *CompType(unsigned char Comp); | |||
static const char *DepType(unsigned char Dep); | static const char *DepType(unsigned char Dep); | |||
pkgCache(MMap *Map,bool DoMap = true); | pkgCache(MMap *Map,bool DoMap = true); | |||
virtual ~pkgCache() {}; | virtual ~pkgCache() {}; | |||
private: | private: | |||
bool MultiArchEnabled; | bool MultiArchEnabled; | |||
PkgIterator SingleArchFindPkg(const string &Name); | PkgIterator SingleArchFindPkg(const string &Name); | |||
inline char const * const NativeArch() const; | ||||
}; | }; | |||
/*}} }*/ | /*}} }*/ | |||
// Header structure /*{{ {*/ | // Header structure /*{{ {*/ | |||
struct pkgCache::Header | struct pkgCache::Header | |||
{ | { | |||
/** \brief Signature information | /** \brief Signature information | |||
This must contain the hex value 0x98FE76DC which is designed to | This must contain the hex value 0x98FE76DC which is designed to | |||
verify that the system loading the image has the same byte order | verify that the system loading the image has the same byte order | |||
and byte size as the system saving the image */ | and byte size as the system saving the image */ | |||
skipping to change at line 651 | skipping to change at line 652 | |||
for the writer. The client should make no assumptions about the positio ning | for the writer. The client should make no assumptions about the positio ning | |||
of strings. All StringItems should be null-terminated. */ | of strings. All StringItems should be null-terminated. */ | |||
struct pkgCache::StringItem | struct pkgCache::StringItem | |||
{ | { | |||
/** \brief string this refers to */ | /** \brief string this refers to */ | |||
map_ptrloc String; // StringItem | map_ptrloc String; // StringItem | |||
/** \brief Next link in the chain */ | /** \brief Next link in the chain */ | |||
map_ptrloc NextItem; // StringItem | map_ptrloc NextItem; // StringItem | |||
}; | }; | |||
/*}} }*/ | /*}} }*/ | |||
inline char const * const pkgCache::NativeArch() const | ||||
{ return StrP + HeaderP->Architecture; }; | ||||
#include <apt-pkg/cacheiterators.h> | #include <apt-pkg/cacheiterators.h> | |||
inline pkgCache::GrpIterator pkgCache::GrpBegin() | inline pkgCache::GrpIterator pkgCache::GrpBegin() | |||
{return GrpIterator(*this);}; | {return GrpIterator(*this);}; | |||
inline pkgCache::GrpIterator pkgCache::GrpEnd() | inline pkgCache::GrpIterator pkgCache::GrpEnd() | |||
{return GrpIterator(*this,GrpP);}; | {return GrpIterator(*this,GrpP);}; | |||
inline pkgCache::PkgIterator pkgCache::PkgBegin() | inline pkgCache::PkgIterator pkgCache::PkgBegin() | |||
{return PkgIterator(*this);}; | {return PkgIterator(*this);}; | |||
inline pkgCache::PkgIterator pkgCache::PkgEnd() | inline pkgCache::PkgIterator pkgCache::PkgEnd() | |||
{return PkgIterator(*this,PkgP);}; | {return PkgIterator(*this,PkgP);}; | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added | |||