diff options
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 */ |