]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.h
deal better with acquiring the same URI multiple times
[apt.git] / apt-pkg / acquire-worker.h
index 67aee4b59fc26cbac3df023ddbd58b973388eb2b..3a3ef706d64920e9cc35d11e1c6133af5741e802 100644 (file)
@@ -101,6 +101,11 @@ class pkgAcquire::Worker : public WeakPointable
     */
    int OutFd;
 
+   /** \brief The socket to send SCM_RIGHTS message through
+    */
+   int PrivSepSocketFd;
+   int PrivSepSocketFdChild;
+
    /** \brief Set to \b true if the worker is in a state in which it
     *  might generate data or command responses.
     *
@@ -321,6 +326,9 @@ class pkgAcquire::Worker : public WeakPointable
     *  \b false, also rudely interrupts the worker with a SIGINT.
     */
    virtual ~Worker();
+
+private:
+   APT_HIDDEN void PrepareFiles(char const * const caller, pkgAcquire::Queue::QItem const * const Itm);
 };
 
 /** @} */