From 2269e8904b56ae0dd80461cc7a0507862b33e34e Mon Sep 17 00:00:00 2001 From: Johnny Richard Date: Fri, 22 Apr 2022 00:43:59 +0200 Subject: client: Implement client_seng_msg --- client.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client.h') diff --git a/client.h b/client.h index 9bd6a58..4d0dc3d 100644 --- a/client.h +++ b/client.h @@ -15,6 +15,8 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ +#ifndef CLIENT_H +#define CLIENT_H #define BUFFER_SIZE 4096 @@ -25,3 +27,7 @@ typedef struct client { char msg_buf[BUFFER_SIZE]; int msg_buf_i; } client_t; + +void client_send_msg(client_t *client, const char *fmt, ...); + +#endif /* CLIENT_H */ -- cgit v1.2.3