about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--bounce.c (renamed from bouncer.c)2
-rw-r--r--bounce.h (renamed from bouncer.h)2
-rw-r--r--listen.c2
4 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c974242..80b5261 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ LDLIBS = -ltls
 
 -include config.mk
 
-OBJS += bouncer.o
+OBJS += bounce.o
 OBJS += listen.o
 
 all: tags linger
@@ -15,7 +15,7 @@ all: tags linger
 linger: ${OBJS}
 	${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
 
-${OBJS}: bouncer.h
+${OBJS}: bounce.h
 
 tags: *.c *.h
 	ctags -w *.c *.h
diff --git a/bouncer.c b/bounce.c
index 0d1d551..b3d8b33 100644
--- a/bouncer.c
+++ b/bounce.c
@@ -24,7 +24,7 @@
 #include <tls.h>
 #include <unistd.h>
 
-#include "bouncer.h"
+#include "bounce.h"
 
 static char *censor(char *arg) {
 	char *dup = strdup(arg);
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);
diff --git a/listen.c b/listen.c
index cb6b164..d758b9d 100644
--- a/listen.c
+++ b/listen.c
@@ -23,7 +23,7 @@
 #include <tls.h>
 #include <unistd.h>
 
-#include "bouncer.h"
+#include "bounce.h"
 
 static struct tls *server;
 
2018-11-12Add gzfread.3June McEnroe 2018-11-12Add gzread.3June McEnroe 2018-11-12Add gzsetparams.3June McEnroe 2018-11-12Add gzbuffer.3June McEnroe 2018-11-12Add gzdopen to gzopen.3June McEnroe 2018-11-12Add gzopen.3June McEnroe 2018-11-12Add inflateBackEnd.3June McEnroe 2018-11-12Add inflateBack.3June McEnroe 2018-11-12Add inflateBackInit.3June McEnroe 2018-11-11Add inflateGetHeader.3June McEnroe 2018-11-11Add inflateMark.3June McEnroe 2018-11-11Add inflatePrime.3June McEnroe 2018-11-11Add inflateReset.3June McEnroe 2018-11-11Add inflateCopy.3June McEnroe 2018-11-11Add inflateSync.3June McEnroe 2018-11-11Add inflateGetDictionary.3June McEnroe 2018-11-11Add inflateSetDictionary.3June McEnroe 2018-11-11Add inflateInit2.3June McEnroe