]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.h
* merged apt--curl-https branch
[apt.git] / apt-pkg / acquire-item.h
index 217ddb3ef14001f5d4960dacd411a9043e4fbbf4..f5272ed8623f4562d521417f0f55b8a2e77d9371 100644 (file)
@@ -27,9 +27,6 @@
 #include <apt-pkg/pkgrecords.h>
 #include <apt-pkg/indexrecords.h>
 
 #include <apt-pkg/pkgrecords.h>
 #include <apt-pkg/indexrecords.h>
 
-#ifdef __GNUG__
-#pragma interface "apt-pkg/acquire-item.h"
-#endif 
 
 /** \addtogroup acquire
  *  @{
 
 /** \addtogroup acquire
  *  @{
@@ -100,7 +97,12 @@ class pkgAcquire::Item
        /** \brief The item was downloaded but its authenticity could
        *  not be verified.
        */
        /** \brief The item was downloaded but its authenticity could
        *  not be verified.
        */
-       StatAuthError
+       StatAuthError,
+
+       /** \brief The item was could not be downloaded because of 
+       *  a transient network error (e.g. network down)
+       */
+       StatTransientNetworkError
      } Status;
 
    /** \brief Contains a textual description of the error encountered
      } Status;
 
    /** \brief Contains a textual description of the error encountered