From 34a4541114318a7eda1c96ed58f83cdcd2622207 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 17 May 2022 15:23:33 +0200 Subject: Move packet handler and line splitting to vchat-connection.c --- vchat-connection.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vchat-connection.h') 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 @@ #include -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(); +int vc_connect(const char *host, const char *port); +void vc_sendmessage(const char *message); +void vc_receive(); +int vc_poll(); +void vc_disconnect(); -- cgit v1.2.3