X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command.h;h=6d2202071c6b849fe37a9a69c30c21d09ff80ef0;hp=05510cc08aa33d50a104f71a05d353ad3027e7d2;hb=d1e6b28f66e243516d01916f9125baee75dd98d6;hpb=f0e41e36c3f1a3a5bb6ff66d92d2814391d8f908 diff --git a/command.h b/command.h index 05510cc0..6d220207 100644 --- a/command.h +++ b/command.h @@ -33,3 +33,12 @@ struct server_command { /** The long help text. */ const char *help; }; + +int send_sb(struct stream_cipher_context *scc, void *buf, size_t numbytes, + int band, bool dont_free); +__printf_3_4 int send_sb_va(struct stream_cipher_context *scc, int band, + const char *fmt, ...); +int send_strerror(struct command_context *cc, int err); +int recv_sb(struct stream_cipher_context *scc, + enum sb_designator expected_band, + size_t max_size, struct iovec *result);