Explorar o código

prepare ABI for feature/socketpair

Michael Vogt %!s(int64=11) %!d(string=hai) anos
pai
achega
da6f750f45
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  1. 1 0
      apt-pkg/acquire-method.h
  2. 5 0
      apt-pkg/acquire-worker.h

+ 1 - 0
apt-pkg/acquire-method.h

@@ -44,6 +44,7 @@ class pkgAcqMethod
 
       std::string Uri;
       std::string DestFile;
+      int DestFileFd;
       time_t LastModified;
       bool IndexFile;
       bool FailIgnore;

+ 5 - 0
apt-pkg/acquire-worker.h

@@ -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.
     *