aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-09-24 13:53:44 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-10-29 13:25:33 +0100
commit2d37e88319441958b7eed876042a106e79c7c85d (patch)
treec03d61b5cd0ba2e8cd605788bc97d25a04b3fd05 /src/libstore/daemon.hh
parent95c727caef110c03900a77133eb3e873fca7f019 (diff)
Move most of the daemon implementation to libstore
Diffstat (limited to 'src/libstore/daemon.hh')
-rw-r--r--src/libstore/daemon.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libstore/daemon.hh b/src/libstore/daemon.hh
new file mode 100644
index 000000000..6d4015e34
--- /dev/null
+++ b/src/libstore/daemon.hh
@@ -0,0 +1,12 @@
+#include "serialise.hh"
+
+namespace nix::daemon {
+
+void processConnection(
+ FdSource & from,
+ FdSink & to,
+ bool trusted,
+ const std::string & userName,
+ uid_t userId);
+
+}