summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authormultiplexd <multi@in-addr.xyz>2020-02-17 19:46:02 +0000
committerJune McEnroe <june@causal.agency>2020-02-18 16:11:57 -0500
commit91e38abd714d5dda2764022ea370d7dde73a55cc (patch)
tree03d4b9966168ca631c7c6093e51dfe888f8e1bbe /bounce.h
parentUse Xr for the first "pounce" in README (diff)
downloadpounce-91e38abd714d5dda2764022ea370d7dde73a55cc.tar.gz
pounce-91e38abd714d5dda2764022ea370d7dde73a55cc.zip
Implement source address selection
This commit introduces a '-S' command line option and a "bind" configuration
file option for selecting the source address when making outbound TCP
connections (similar to the corresponding option in catgirl(1)).
Diffstat (limited to 'bounce.h')
-rw-r--r--bounce.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bounce.h b/bounce.h
index a0f9160..20d7d40 100644
--- a/bounce.h
+++ b/bounce.h
@@ -133,7 +133,7 @@ size_t localUnix(int fds[], size_t cap, const char *path);
 struct tls *localAccept(int *fd, int bind);
 
 void serverConfig(bool insecure, const char *cert, const char *priv);
-int serverConnect(const char *host, const char *port);
+int serverConnect(const char *bindHost, const char *host, const char *port);
 void serverRecv(void);
 void serverSend(const char *ptr, size_t len);
 void serverFormat(const char *format, ...)
a>June McEnroe 2022-08-14Remove tweets text fileJune McEnroe 2022-08-04Add Conversations With FriendsJune McEnroe 2022-07-30Add Normal PeopleJune McEnroe 2022-07-26Rewrite glitch from new pngoJune McEnroe 2022-07-26Update Care with time-to-ID and piercingsJune McEnroe 2022-07-26Add -w to upJune McEnroe 2022-07-13Set push.autoSetupRemoteJune McEnroe 2022-07-08Remove TOURJune McEnroe 2022-07-03Add The Bone Shard EmperorJune McEnroe 2022-06-25Bump xterm font size to 12June McEnroe 2022-06-10Handle subshells (and functions) inside substitutionsJune McEnroe 2022-06-10Switch to jorts Install scriptJune McEnroe 2022-06-08Indicate if still reading or no resultsJune McEnroe 2022-06-08Add Maiden, Mother, CroneJune McEnroe 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe