X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command.h;h=e4159e6bda00131bf4a1ef6b5a46627c9f7d88b1;hp=851c00ba2f4ab4450493d29f878ea65125462588;hb=6cb789ba07d3830f1d7fbff9daa059eb1c99c166;hpb=e151dbb79eac16326585ec0a33cf48029f5f22f4 diff --git a/command.h b/command.h index 851c00ba..e4159e6b 100644 --- a/command.h +++ b/command.h @@ -35,3 +35,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);