diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-17 15:23:33 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-17 15:23:33 +0200 |
commit | 34a4541114318a7eda1c96ed58f83cdcd2622207 (patch) | |
tree | 77d13dae58b6b1a39c14046658d392b7d6b72e69 /vchat-connection.h | |
parent | 986fb5638542a943a6d9cd0d38d73605a642c55a (diff) |
Move packet handler and line splitting to vchat-connection.c
Diffstat (limited to 'vchat-connection.h')
-rw-r--r-- | vchat-connection.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vchat-connection.h b/vchat-connection.h index 140e467..a56dc29 100644 --- a/vchat-connection.h +++ b/vchat-connection.h | |||
@@ -2,8 +2,8 @@ | |||
2 | 2 | ||
3 | #include <stdint.h> | 3 | #include <stdint.h> |
4 | 4 | ||
5 | int vc_connect(const char *host, const char *port); | 5 | int vc_connect(const char *host, const char *port); |
6 | void vc_sendmessage(const char *message); | 6 | void vc_sendmessage(const char *message); |
7 | ssize_t vc_receivemessage(char *buffer, size_t size); | 7 | void vc_receive(); |
8 | int vc_poll(); | 8 | int vc_poll(); |
9 | void vc_disconnect(); | 9 | void vc_disconnect(); |