about summary refs log tree commit diff
path: root/third_party/nix/src/nix-daemon/nix-daemon-proto.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix-daemon/nix-daemon-proto.hh')
-rw-r--r--third_party/nix/src/nix-daemon/nix-daemon-proto.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/nix/src/nix-daemon/nix-daemon-proto.hh b/third_party/nix/src/nix-daemon/nix-daemon-proto.hh
new file mode 100644
index 000000000000..ca871213eb60
--- /dev/null
+++ b/third_party/nix/src/nix-daemon/nix-daemon-proto.hh
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <memory>
+
+#include "libproto/worker.grpc.pb.h"
+#include "libstore/store-api.hh"
+
+namespace nix::daemon {
+
+nix::proto::WorkerService::Service* NewWorkerService(nix::Store&);
+
+}  // namespace nix::daemon