|
@@ -63,6 +63,8 @@ class pkgAcqMetaIndex;
|
|
|
*/
|
|
*/
|
|
|
class pkgAcquire::Item : public WeakPointable
|
|
class pkgAcquire::Item : public WeakPointable
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
|
|
|
|
|
/** \brief The acquire object with which this item is associated. */
|
|
/** \brief The acquire object with which this item is associated. */
|
|
@@ -342,6 +344,8 @@ struct DiffInfo {
|
|
|
|
|
|
|
|
class pkgAcqMetaSigBase : public pkgAcquire::Item
|
|
class pkgAcqMetaSigBase : public pkgAcquire::Item
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
bool GenerateAuthWarning(const std::string &RealURI,
|
|
bool GenerateAuthWarning(const std::string &RealURI,
|
|
|
const std::string &Message);
|
|
const std::string &Message);
|
|
@@ -364,6 +368,8 @@ class pkgAcqMetaSigBase : public pkgAcquire::Item
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqMetaIndex : public pkgAcqMetaSigBase
|
|
class pkgAcqMetaIndex : public pkgAcqMetaSigBase
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
/** \brief The URI that is actually being downloaded; never
|
|
/** \brief The URI that is actually being downloaded; never
|
|
|
* modified by pkgAcqMetaIndex.
|
|
* modified by pkgAcqMetaIndex.
|
|
@@ -462,6 +468,8 @@ class pkgAcqMetaIndex : public pkgAcqMetaSigBase
|
|
|
/** \brief An item repsonsible for downloading clearsigned metaindexes {{{*/
|
|
/** \brief An item repsonsible for downloading clearsigned metaindexes {{{*/
|
|
|
class pkgAcqMetaClearSig : public pkgAcqMetaIndex
|
|
class pkgAcqMetaClearSig : public pkgAcqMetaIndex
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
/** \brief The URI of the meta-index file for the detached signature */
|
|
/** \brief The URI of the meta-index file for the detached signature */
|
|
|
std::string MetaIndexURI;
|
|
std::string MetaIndexURI;
|
|
|
|
|
|
|
@@ -503,6 +511,8 @@ public:
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqBaseIndex : public pkgAcquire::Item
|
|
class pkgAcqBaseIndex : public pkgAcquire::Item
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
/** \brief Pointer to the IndexTarget data
|
|
/** \brief Pointer to the IndexTarget data
|
|
|
*/
|
|
*/
|
|
@@ -531,6 +541,8 @@ class pkgAcqBaseIndex : public pkgAcquire::Item
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqDiffIndex : public pkgAcqBaseIndex
|
|
class pkgAcqDiffIndex : public pkgAcqBaseIndex
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
/** \brief If \b true, debugging information will be written to std::clog. */
|
|
/** \brief If \b true, debugging information will be written to std::clog. */
|
|
|
bool Debug;
|
|
bool Debug;
|
|
@@ -603,6 +615,8 @@ class pkgAcqDiffIndex : public pkgAcqBaseIndex
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqIndexMergeDiffs : public pkgAcqBaseIndex
|
|
class pkgAcqIndexMergeDiffs : public pkgAcqBaseIndex
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
|
|
|
|
|
/** \brief If \b true, debugging output will be written to
|
|
/** \brief If \b true, debugging output will be written to
|
|
@@ -694,6 +708,8 @@ class pkgAcqIndexMergeDiffs : public pkgAcqBaseIndex
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqIndexDiffs : public pkgAcqBaseIndex
|
|
class pkgAcqIndexDiffs : public pkgAcqBaseIndex
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
private:
|
|
private:
|
|
|
|
|
|
|
|
/** \brief Queue up the next diff download.
|
|
/** \brief Queue up the next diff download.
|
|
@@ -819,6 +835,8 @@ class pkgAcqIndexDiffs : public pkgAcqBaseIndex
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqIndex : public pkgAcqBaseIndex
|
|
class pkgAcqIndex : public pkgAcqBaseIndex
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
|
|
|
|
|
/** \brief If \b true, the index file has been decompressed. */
|
|
/** \brief If \b true, the index file has been decompressed. */
|
|
@@ -906,6 +924,8 @@ class pkgAcqIndex : public pkgAcqBaseIndex
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqIndexTrans : public pkgAcqIndex
|
|
class pkgAcqIndexTrans : public pkgAcqIndex
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
public:
|
|
public:
|
|
|
|
|
|
|
|
virtual void Failed(std::string Message,pkgAcquire::MethodConfig *Cnf);
|
|
virtual void Failed(std::string Message,pkgAcquire::MethodConfig *Cnf);
|
|
@@ -935,6 +955,8 @@ class pkgAcqIndexTrans : public pkgAcqIndex
|
|
|
/** \brief Information about an index file. */ /*{{{*/
|
|
/** \brief Information about an index file. */ /*{{{*/
|
|
|
class IndexTarget
|
|
class IndexTarget
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
public:
|
|
public:
|
|
|
/** \brief A URI from which the index file can be downloaded. */
|
|
/** \brief A URI from which the index file can be downloaded. */
|
|
|
std::string URI;
|
|
std::string URI;
|
|
@@ -958,6 +980,8 @@ class IndexTarget
|
|
|
/** \brief Information about an optional index file. */ /*{{{*/
|
|
/** \brief Information about an optional index file. */ /*{{{*/
|
|
|
class OptionalIndexTarget : public IndexTarget
|
|
class OptionalIndexTarget : public IndexTarget
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
virtual bool IsOptional() const {
|
|
virtual bool IsOptional() const {
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
@@ -974,6 +998,8 @@ class OptionalIndexTarget : public IndexTarget
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqMetaSig : public pkgAcqMetaSigBase
|
|
class pkgAcqMetaSig : public pkgAcqMetaSigBase
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
/** \brief The last good signature file */
|
|
/** \brief The last good signature file */
|
|
|
std::string LastGoodSig;
|
|
std::string LastGoodSig;
|
|
@@ -1029,6 +1055,8 @@ class pkgAcqMetaSig : public pkgAcqMetaSigBase
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqArchive : public pkgAcquire::Item
|
|
class pkgAcqArchive : public pkgAcquire::Item
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
protected:
|
|
protected:
|
|
|
/** \brief The package version being fetched. */
|
|
/** \brief The package version being fetched. */
|
|
|
pkgCache::VerIterator Version;
|
|
pkgCache::VerIterator Version;
|
|
@@ -1107,6 +1135,8 @@ class pkgAcqArchive : public pkgAcquire::Item
|
|
|
*/
|
|
*/
|
|
|
class pkgAcqFile : public pkgAcquire::Item
|
|
class pkgAcqFile : public pkgAcquire::Item
|
|
|
{
|
|
{
|
|
|
|
|
+ void *d;
|
|
|
|
|
+
|
|
|
/** \brief How many times to retry the download, set from
|
|
/** \brief How many times to retry the download, set from
|
|
|
* Acquire::Retries.
|
|
* Acquire::Retries.
|
|
|
*/
|
|
*/
|