summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-22 22:15:55 -0400
committerJune McEnroe <june@causal.agency>2019-10-22 22:15:55 -0400
commit31d09e34fa1507833b98122b54bb929b956dcdd7 (patch)
treece90e7ce561c57ae0a9c34aa3fa2f3cc7e90afc0 /bounce.h
parentRemove pollfd from listen interface (diff)
downloadpounce-31d09e34fa1507833b98122b54bb929b956dcdd7.tar.gz
pounce-31d09e34fa1507833b98122b54bb929b956dcdd7.zip
Rename bouncer to bounce
Diffstat (limited to '')
-rw-r--r--bounce.h (renamed from bouncer.h)2
1 files changed, 2 insertions, 0 deletions
diff --git a/bouncer.h b/bounce.h
index 13656ad..e731ac0 100644
--- a/bouncer.h
+++ b/bounce.h
@@ -28,3 +28,5 @@
 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);
+
+int serverConnect(const char *host, const char *port);