aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/daemon.hh')
-rw-r--r--src/libstore/daemon.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstore/daemon.hh b/src/libstore/daemon.hh
index fa26ba9c2..266932013 100644
--- a/src/libstore/daemon.hh
+++ b/src/libstore/daemon.hh
@@ -3,11 +3,15 @@
namespace nix::daemon {
+enum TrustedFlag : bool { NotTrusted = false, Trusted = true };
+enum RecursiveFlag : bool { NotRecursive = false, Recursive = true };
+
void processConnection(
ref<Store> store,
FdSource & from,
FdSink & to,
- bool trusted,
+ TrustedFlag trusted,
+ RecursiveFlag recursive,
const std::string & userName,
uid_t userId);