cachefilter.h   cachefilter.h 
skipping to change at line 29 skipping to change at line 29
/** \brief dpointer placeholder (for later in case we need it) */ /** \brief dpointer placeholder (for later in case we need it) */
void *d; void *d;
regex_t* pattern; regex_t* pattern;
public: public:
PackageNameMatchesRegEx(std::string const &Pattern); PackageNameMatchesRegEx(std::string const &Pattern);
bool operator() (pkgCache::PkgIterator const &Pkg); bool operator() (pkgCache::PkgIterator const &Pkg);
bool operator() (pkgCache::GrpIterator const &Grp); bool operator() (pkgCache::GrpIterator const &Grp);
~PackageNameMatchesRegEx(); ~PackageNameMatchesRegEx();
}; };
/*}} }*/ /*}} }*/
// PackageArchitectureMatchesSpecification /*{{
{*/
/** \class PackageArchitectureMatchesSpecification
\brief matching against architecture specification strings
The strings are of the format <kernel>-<cpu> where either component,
or the whole string, can be the wildcard "any" as defined in
debian-policy ยง11.1 "Architecture specification strings".
Examples: i386, mipsel, linux-any, any-amd64, any */
class PackageArchitectureMatchesSpecification {
std::string literal;
std::string complete;
bool isPattern;
/** \brief dpointer placeholder (for later in case we need it) */
void *d;
public:
/** \brief matching against architecture specification strings
*
* @param pattern is the architecture specification string
* @param isPattern defines if the given \b pattern is a
* architecture specification pattern to match others against
* or if it is the fixed string and matched against patterns
*/
PackageArchitectureMatchesSpecification(std::string const &pattern,
bool const isPattern = true);
bool operator() (char const * const &arch);
bool operator() (pkgCache::PkgIterator const &Pkg);
bool operator() (pkgCache::VerIterator const &Ver);
~PackageArchitectureMatchesSpecification();
};
/*}}
}*/
} }
} }
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 33 lines changed or added


 cacheset.h   cacheset.h 
skipping to change at line 142 skipping to change at line 142
virtual bool empty() const = 0; virtual bool empty() const = 0;
virtual void clear() = 0; virtual void clear() = 0;
enum Constructor { UNKNOWN, REGEX, TASK }; enum Constructor { UNKNOWN, REGEX, TASK };
virtual void setConstructor(Constructor const &con) = 0; virtual void setConstructor(Constructor const &con) = 0;
virtual Constructor getConstructor() const = 0; virtual Constructor getConstructor() const = 0;
static bool FromTask(PackageContainerInterface * const pci, pkgCache File &Cache, std::string pattern, CacheSetHelper &helper); static bool FromTask(PackageContainerInterface * const pci, pkgCache File &Cache, std::string pattern, CacheSetHelper &helper);
static bool FromRegEx(PackageContainerInterface * const pci, pkgCach eFile &Cache, std::string pattern, CacheSetHelper &helper); static bool FromRegEx(PackageContainerInterface * const pci, pkgCach eFile &Cache, std::string pattern, CacheSetHelper &helper);
static pkgCache::PkgIterator FromName(pkgCacheFile &Cache, std::stri ng const &pattern, CacheSetHelper &helper); static pkgCache::PkgIterator FromName(pkgCacheFile &Cache, std::stri ng const &pattern, CacheSetHelper &helper);
static bool FromGroup(PackageContainerInterface * const pci, pkgCach eFile &Cache, std::string pattern, CacheSetHelper &helper);
static bool FromString(PackageContainerInterface * const pci, pkgCac heFile &Cache, std::string const &pattern, CacheSetHelper &helper); static bool FromString(PackageContainerInterface * const pci, pkgCac heFile &Cache, std::string const &pattern, CacheSetHelper &helper);
static bool FromCommandLine(PackageContainerInterface * const pci, p kgCacheFile &Cache, const char **cmdline, CacheSetHelper &helper); static bool FromCommandLine(PackageContainerInterface * const pci, p kgCacheFile &Cache, const char **cmdline, CacheSetHelper &helper);
struct Modifier { struct Modifier {
enum Position { NONE, PREFIX, POSTFIX }; enum Position { NONE, PREFIX, POSTFIX };
unsigned short ID; unsigned short ID;
const char * const Alias; const char * const Alias;
Position Pos; Position Pos;
Modifier (unsigned short const &id, const char * const alias , Position const &pos) : ID(id), Alias(alias), Pos(pos) {}; Modifier (unsigned short const &id, const char * const alias , Position const &pos) : ID(id), Alias(alias), Pos(pos) {};
}; };
 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 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.6" #define PACKAGE_VERSION "0.9.7"
/* 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

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/