diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-24 22:43:15 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-24 22:43:15 +0200 |
commit | 10ee4cff7e498a7c31a2cbfc1916f7d795c7aca2 (patch) | |
tree | e4282fd66ad38ca6f0ea3929c89829dcbb6dca55 /vchat-connection.h | |
parent | ef780ee52da0845fa679c664e106d93d1142c9ef (diff) |
Remove external status variable from connection code. Use return code to signal dead connection
Diffstat (limited to 'vchat-connection.h')
-rw-r--r-- | vchat-connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vchat-connection.h b/vchat-connection.h index 9b3ccaa..2889c82 100644 --- a/vchat-connection.h +++ b/vchat-connection.h | |||
@@ -4,6 +4,6 @@ | |||
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 | void vc_receive(); | 7 | int vc_receive(); |
8 | int vc_poll(); | 8 | int vc_poll(); |
9 | void vc_disconnect(); | 9 | void vc_disconnect(); |