aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-04 22:29:31 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-04 22:29:31 +0100
commitb81d9d26f50784ab1884e2cc6bc470d5cba91bc9 (patch)
treebf1a03fff022f94271df102d045d6b33e677c2c6 /src/libutil/util.hh
parente34b317bbf778efb4e9bee5d34fb2ceb7776de3f (diff)
parentf5a46ef0b1d76d32238f76ab8253f0d2d9fc72c9 (diff)
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh4
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);
+
+
}