summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-23 00:16:31 -0400
committerJune McEnroe <june@causal.agency>2019-10-23 00:16:31 -0400
commite0d292cb2fd1b535d601cfc45c370533919c8420 (patch)
treed58f25c659ca993aa7c3c7716010f2505f120985 /bounce.h
parentAdd README.7 (diff)
downloadpounce-e0d292cb2fd1b535d601cfc45c370533919c8420.tar.gz
pounce-e0d292cb2fd1b535d601cfc45c370533919c8420.zip
Add state
Diffstat (limited to 'bounce.h')
-rw-r--r--bounce.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index 999180f..e442e47 100644
--- a/bounce.h
+++ b/bounce.h
@@ -14,6 +14,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <stdbool.h>
 #include <stdlib.h>
 #include <tls.h>
 
@@ -34,4 +35,10 @@ void serverLogin(
 	const char *pass, const char *auth,
 	const char *nick, const char *user, const char *real
 );
+void serverAuth(void);
+void serverJoin(const char *join);
 void serverSend(const char *ptr, size_t len);
+void serverRecv(void);
+
+bool stateReady(void);
+void stateParse(char *line);