Просмотр исходного кода

prepare ABI for feature/socketpair

Michael Vogt лет назад: 11
Родитель
Сommit
da6f750f45
2 измененных файлов с 6 добавлено и 0 удалено
  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.
     *