X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Fwebcit.h;h=4d5f51c56c124b0bb95eae83aa851f221b41d924;hb=7dd36f04246952793553284d8cf56c240d6791c3;hp=a818260d3824a9c23fab689d797f11b35b8c1fc6;hpb=b189e3c20289655e602210cb8e250bfd98d9dd47;p=citadel.git diff --git a/webcit-ng/webcit.h b/webcit-ng/webcit.h index a818260d3..4d5f51c56 100644 --- a/webcit-ng/webcit.h +++ b/webcit-ng/webcit.h @@ -7,6 +7,8 @@ * modify it under the terms of the GNU General Public License, version 3. */ +#define SHOW_ME_VAPPEND_PRINTF + #include #include #include @@ -22,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -147,8 +150,6 @@ void dav_get_message(struct http_transaction *h, struct ctdlsession *c, long msg void dav_put_message(struct http_transaction *h, struct ctdlsession *c, char *euid, long old_msgnum); ssize_t ctdl_write(struct ctdlsession *ctdl, const void *buf, size_t count); int login_to_citadel(struct ctdlsession *c, char *auth, char *resultbuf); -void threaded_view(struct http_transaction *h, struct ctdlsession *c, char *which); -void flat_view(struct http_transaction *h, struct ctdlsession *c, char *which); StrBuf *ctdl_readtextmsg(struct ctdlsession *ctdl); StrBuf *html2html(const char *supplied_charset, int treat_as_wiki, char *roomname, long msgnum, StrBuf *Source); void download_mime_component(struct http_transaction *h, struct ctdlsession *c, long msgnum, char *partnum); @@ -163,3 +164,4 @@ void do_502(struct http_transaction *h); void do_404(struct http_transaction *h); void do_412(struct http_transaction *h); void UrlizeText(StrBuf* Target, StrBuf *Source, StrBuf *WrkBuf); +void json_render_one_message(struct http_transaction *h, struct ctdlsession *c, long msgnum);