aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.hh
blob: 1964c0d997c4cc0181d4204afb6c78ea3f449c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
///@file

#include "serialise.hh"
#include "store-api.hh"

namespace nix::daemon {

enum RecursiveFlag : bool { NotRecursive = false, Recursive = true };

void processConnection(
    ref<Store> store,
    FdSource & from,
    FdSink & to,
    TrustedFlag trusted,
    RecursiveFlag recursive);

}