summaryrefslogtreecommitdiff
path: root/vchat-connection.h
blob: 140e467f2c56292b2960cf15253f43ecbf675d00 (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include <stdint.h>

int     vc_connect(const char *host, const char *port);
void    vc_sendmessage(const char *message);
ssize_t vc_receivemessage(char *buffer, size_t size);
int     vc_poll();
void    vc_disconnect();