diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-11-04 22:29:31 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-11-04 22:29:31 +0100 |
commit | b81d9d26f50784ab1884e2cc6bc470d5cba91bc9 (patch) | |
tree | bf1a03fff022f94271df102d045d6b33e677c2c6 /src/libutil/util.hh | |
parent | e34b317bbf778efb4e9bee5d34fb2ceb7776de3f (diff) | |
parent | f5a46ef0b1d76d32238f76ab8253f0d2d9fc72c9 (diff) |
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r-- | src/libutil/util.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 30654e315..2e5f4ca4e 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -577,4 +577,8 @@ typedef std::function<bool(const Path & path)> PathFilter; extern PathFilter defaultPathFilter; +/* Create a Unix domain socket in listen mode. */ +AutoCloseFD createUnixDomainSocket(const Path & path, mode_t mode); + + } |