X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit-ng%2Fwebcit.h;h=36f47acf72582bb5f6261ad1f240fd98eb641f1b;hp=af08f6fddb2c3d307c1c76fe1705f748f564347a;hb=2dd0ef8fe2953cbdec20f4dcd016c93f12117fad;hpb=b5c457f32fc0d890d24f334d9dcce7987e09885c diff --git a/webcit-ng/webcit.h b/webcit-ng/webcit.h index af08f6fdd..36f47acf7 100644 --- a/webcit-ng/webcit.h +++ b/webcit-ng/webcit.h @@ -157,6 +157,7 @@ void download_mime_component(struct http_transaction *h, struct ctdlsession *c, StrBuf *text2html(const char *supplied_charset, int treat_as_wiki, char *roomname, long msgnum, StrBuf *Source); StrBuf *variformat2html(StrBuf *Source); int ctdl_readline(struct ctdlsession *ctdl, char *buf, int maxbytes); +int ctdl_read_binary(struct ctdlsession *ctdl, char *buf, int bytes_requested); void ctdl_c(struct http_transaction *h, struct ctdlsession *c); int webserver(char *webserver_interface, int webserver_port, int webserver_protocol); void ctdl_printf(struct ctdlsession *ctdl, const char *format,...);