diff options
author | Johnny Richard <johnny@johnnyrichard.com> | 2022-04-22 00:43:59 +0200 |
---|---|---|
committer | Johnny Richard <johnny@johnnyrichard.com> | 2022-04-22 00:59:27 +0200 |
commit | 2269e8904b56ae0dd80461cc7a0507862b33e34e (patch) | |
tree | 1d93f82ca561d65005b13a4ccdc846c995d66185 /client.h | |
parent | c4797d9dfcf82edf0212925190d5157055fdd187 (diff) |
client: Implement client_seng_msg
Diffstat (limited to 'client.h')
-rw-r--r-- | client.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -15,6 +15,8 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ +#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 */ |