summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-22 22:49:05 -0400
committerJune McEnroe <june@causal.agency>2019-10-22 22:49:05 -0400
commit72cee2b26449468734de68c797d0cc6945f176f9 (patch)
treee89834666eef7a5615cfc8857c3592d2aa37bfec /bounce.h
parentMention server-time in manual page (diff)
downloadpounce-72cee2b26449468734de68c797d0cc6945f176f9.tar.gz
pounce-72cee2b26449468734de68c797d0cc6945f176f9.zip
Implement serverLogin
Diffstat (limited to '')
-rw-r--r--bounce.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index e731ac0..999180f 100644
--- a/bounce.h
+++ b/bounce.h
@@ -30,3 +30,8 @@ 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);
+void serverLogin(
+	const char *pass, const char *auth,
+	const char *nick, const char *user, const char *real
+);
+void serverSend(const char *ptr, size_t len);