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.hh13
1 files changed, 13 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..5ffab9ebbe62
--- /dev/null
+++ b/third_party/nix/src/nix-daemon/nix-daemon-proto.hh
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <memory>
+
+#include "libproto/worker.grpc.pb.h"
+#include "libstore/store-api.hh"
+
+namespace nix::daemon {
+
+std::unique_ptr<nix::proto::WorkerService::Service> NewWorkerService(
+    nix::Store*);
+
+}  // namespace nix::daemon