aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-04-15 16:05:28 +0200
committertomsmeding <tom.smeding@gmail.com>2017-04-15 16:05:28 +0200
commit3b3f2f3168c80e53055891f9afcfc5c5120dabd7 (patch)
tree415c701933364f283f8eadac1bb0e0543f9fb97f /net.h
parent9800ecb1e93d398988a6904d5e4dc6c4e11aedb0 (diff)
server: Support cmd_is_online
Diffstat (limited to 'net.h')
-rw-r--r--net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net.h b/net.h
index 4528e42..11475b7 100644
--- a/net.h
+++ b/net.h
@@ -5,6 +5,7 @@
bool net_send_raw_text(int fd,const char *text,i64 len);
bool net_send_ok(int fd,const char *tag);
+bool net_send_number(int fd,const char *tag,i64 number);
bool net_send_error(int fd,const char *tag,const char *msg);
bool net_send_name(int fd,const char *tag,const char *name);
bool net_send_list(int fd,const char *tag,i64 count,const char **list);