summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-02 04:06:41 -0400
committerJune McEnroe <june@causal.agency>2019-11-02 04:06:41 -0400
commitb6ad43c7e76da131f284a6af5a210a77ba08c610 (patch)
tree709248de1f719ec1cdb3b3123290cff6c4004770 /bounce.h
parentDon't try to sendfd if connect failed (diff)
downloadpounce-b6ad43c7e76da131f284a6af5a210a77ba08c610.tar.gz
pounce-b6ad43c7e76da131f284a6af5a210a77ba08c610.zip
Implement UNIX-domain binding
Diffstat (limited to 'bounce.h')
-rw-r--r--bounce.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index 60a6795..d07c2cb 100644
--- a/bounce.h
+++ b/bounce.h
@@ -76,6 +76,7 @@ void ringLoad(FILE *file);
 
 void listenConfig(FILE *cert, FILE *priv);
 size_t listenBind(int fds[], size_t cap, const char *host, const char *port);
+size_t listenUnix(int fds[], size_t cap, const char *path);
 struct tls *listenAccept(int *fd, int bind);
 
 int serverConnect(bool insecure, const char *host, const char *port);