summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-25 16:27:24 -0400
committerJune McEnroe <june@causal.agency>2019-10-25 16:27:24 -0400
commitffbf1635f5be94eda4ee857d51a51a1564235f5d (patch)
treef1e5cfd2feee4af202a3d2c40c8d0e0014c9bc9b /bounce.h
parentUse produce/consume words for ring buffer (diff)
downloadpounce-ffbf1635f5be94eda4ee857d51a51a1564235f5d.tar.gz
pounce-ffbf1635f5be94eda4ee857d51a51a1564235f5d.zip
Clean up listen API
Diffstat (limited to '')
-rw-r--r--bounce.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bounce.h b/bounce.h
index 3c95f70..3307bac 100644
--- a/bounce.h
+++ b/bounce.h
@@ -60,7 +60,7 @@ const char *ringConsume(time_t *time, size_t consumer);
 
 void listenConfig(const char *cert, const char *priv);
 size_t listenBind(int fds[], size_t cap, const char *host, const char *port);
-int listenAccept(struct tls **client, int fd);
+struct tls *listenAccept(int *fd, int bind);
 
 int serverConnect(const char *host, const char *port);
 void serverLogin(