diff options
author | June McEnroe <june@causal.agency> | 2019-10-25 16:27:24 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-25 16:27:24 -0400 |
commit | ffbf1635f5be94eda4ee857d51a51a1564235f5d (patch) | |
tree | f1e5cfd2feee4af202a3d2c40c8d0e0014c9bc9b /bounce.h | |
parent | Use produce/consume words for ring buffer (diff) | |
download | pounce-ffbf1635f5be94eda4ee857d51a51a1564235f5d.tar.gz pounce-ffbf1635f5be94eda4ee857d51a51a1564235f5d.zip |
Clean up listen API
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 2 |
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( |