summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-24 00:26:53 -0400
committerJune McEnroe <june@causal.agency>2019-10-24 00:26:53 -0400
commitd5aedc3d84eea0d970f90ddc04f9be331e9c20e9 (patch)
tree473c357825d0e8515baed6709d2e3f7672d69df0 /bounce.h
parentMake serverFormat public (diff)
downloadpounce-d5aedc3d84eea0d970f90ddc04f9be331e9c20e9.tar.gz
pounce-d5aedc3d84eea0d970f90ddc04f9be331e9c20e9.zip
Make clientFormat public
Diffstat (limited to '')
-rw-r--r--bounce.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index aac414f..f63d884 100644
--- a/bounce.h
+++ b/bounce.h
@@ -73,6 +73,8 @@ void clientFree(struct Client *client);
 bool clientError(const struct Client *client);
 void clientRecv(struct Client *client);
 void clientSend(struct Client *client, const char *ptr, size_t len);
+void clientFormat(struct Client *client, const char *format, ...)
+	__attribute__((format(printf, 2, 3)));
 
 bool stateReady(void);
 void stateParse(char *line);