about summary refs log tree commit diff
path: root/src/libstore/remote-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-12-04T23·29+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-12-04T23·29+0000
commit74033a844fe57e3e91c71ae37f9a65f6b2f22aa9 (patch)
treeb7bc47382b27fc8ca916ca1cbbcc8fe9aa427aaa /src/libstore/remote-store.hh
parent0d40f6d7bb226e69f65f8ca8e6d0597baf3eec9a (diff)
* Add indirect root registration to the protocol so that unprivileged
  processes can register indirect roots.  Of course, there is still
  the problem that the garbage collector can only read the targets of
  the indirect roots when it's running as root...

Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r--src/libstore/remote-store.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh
index ad29305db76b..4b698304562c 100644
--- a/src/libstore/remote-store.hh
+++ b/src/libstore/remote-store.hh
@@ -49,6 +49,8 @@ public:
 
     void addTempRoot(const Path & path);
 
+    void addIndirectRoot(const Path & path);
+    
     void syncWithGC();
     
 private: