diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-04-14 20:43:29 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-04-14 20:43:29 +0200 |
commit | c02fa99188c868496f864a20b1139ec4e6f93c2a (patch) | |
tree | a1c2b5ac84405da437bba639da75286a29961770 /net.h | |
parent | a1667f92905da03c1c3e26e8311fa7bd2802ca78 (diff) |
server: Factor out net related functions from command.c
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#pragma once + +#include "global.h" + + +bool net_send_raw_text(int fd,const char *text,i64 len); +bool net_send_ok(int fd,const char *tag); +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); |