diff options
Diffstat (limited to 'vchat-connection.h')
-rw-r--r-- | vchat-connection.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vchat-connection.h b/vchat-connection.h new file mode 100644 index 0000000..140e467 --- /dev/null +++ b/vchat-connection.h | |||
@@ -0,0 +1,9 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <stdint.h> | ||
4 | |||
5 | int vc_connect(const char *host, const char *port); | ||
6 | void vc_sendmessage(const char *message); | ||
7 | ssize_t vc_receivemessage(char *buffer, size_t size); | ||
8 | int vc_poll(); | ||
9 | void vc_disconnect(); | ||