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.4" | #define VERSION "0.8.5" | |||
/* 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 148 | skipping to change at line 148 | |||
enum PkgSelectedState {Unknown=0,Install=1,Hold=2,DeInstall=3,Purge=4 }; | enum PkgSelectedState {Unknown=0,Install=1,Hold=2,DeInstall=3,Purge=4 }; | |||
enum PkgInstState {Ok=0,ReInstReq=1,HoldInst=2,HoldReInstReq=3}; | enum PkgInstState {Ok=0,ReInstReq=1,HoldInst=2,HoldReInstReq=3}; | |||
enum PkgCurrentState {NotInstalled=0,UnPacked=1,HalfConfigured=2, | enum PkgCurrentState {NotInstalled=0,UnPacked=1,HalfConfigured=2, | |||
HalfInstalled=4,ConfigFiles=5,Installed=6, | HalfInstalled=4,ConfigFiles=5,Installed=6, | |||
TriggersAwaited=7,TriggersPending=8}; | TriggersAwaited=7,TriggersPending=8}; | |||
}; | }; | |||
struct Flag | struct Flag | |||
{ | { | |||
enum PkgFlags {Auto=(1<<0),Essential=(1<<3),Important=(1<<4)}; | enum PkgFlags {Auto=(1<<0),Essential=(1<<3),Important=(1<<4)}; | |||
enum PkgFFlags {NotSource=(1<<0),NotAutomatic=(1<<1)}; | enum PkgFFlags {NotSource=(1<<0),NotAutomatic=(1<<1),ButAutomaticUpgr ades=(1<<2)}; | |||
}; | }; | |||
protected: | protected: | |||
// Memory mapped cache file | // Memory mapped cache file | |||
string CacheFile; | string CacheFile; | |||
MMap ⤅ | MMap ⤅ | |||
unsigned long sHash(const string &S) const; | unsigned long sHash(const string &S) const; | |||
unsigned long sHash(const char *S) const; | unsigned long sHash(const char *S) const; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||