summaryrefslogtreecommitdiff
path: root/vchat-connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-connection.h')
-rw-r--r--vchat-connection.h9
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
5int vc_connect(const char *host, const char *port);
6void vc_sendmessage(const char *message);
7ssize_t vc_receivemessage(char *buffer, size_t size);
8int vc_poll();
9void vc_disconnect();