summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client.h')
-rw-r--r--client.h6
1 files changed, 6 insertions, 0 deletions
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 <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 */