diff options
author | June McEnroe <june@causal.agency> | 2019-11-02 04:06:41 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-02 04:06:41 -0400 |
commit | b6ad43c7e76da131f284a6af5a210a77ba08c610 (patch) | |
tree | 709248de1f719ec1cdb3b3123290cff6c4004770 /bounce.h | |
parent | Don't try to sendfd if connect failed (diff) | |
download | pounce-b6ad43c7e76da131f284a6af5a210a77ba08c610.tar.gz pounce-b6ad43c7e76da131f284a6af5a210a77ba08c610.zip |
Implement UNIX-domain binding
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 1 |
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); |