X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Fwebcit.h;h=de529ae83536dc01184c839245cdb2b91ac6f9c4;hb=5deb2bab5f248ea677c98d8b36b3d658520324ed;hp=72e40eed8d40fa899a85f48e30a2d1c0a2b883cd;hpb=a2e2b0eab5e29c1bd61ec21737d28d3cb70ee364;p=citadel.git diff --git a/webcit-ng/webcit.h b/webcit-ng/webcit.h index 72e40eed8..de529ae83 100644 --- a/webcit-ng/webcit.h +++ b/webcit-ng/webcit.h @@ -82,6 +82,7 @@ struct ctdlsession { char room[128]; // What room we are currently in int room_current_view; int room_default_view; + long last_seen; int new_messages; int total_messages; time_t last_access; // Timestamp of last request that used this session @@ -162,3 +163,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 html_render_one_message(struct http_transaction *h, struct ctdlsession *c, long msgnum);