X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.h;h=66cebdb8b069acb18040203fd87593f40becd7aa;hb=50e8a523ac537c3ac7947c412663a252f641a9aa;hp=ec872805161c859b2f105133097ba429366f4b77;hpb=db253f6fade2e8286be0b5c911e7635b0c3c79c5;p=citadel.git diff --git a/webcit/webcit.h b/webcit/webcit.h index ec8728051..66cebdb8b 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -339,8 +339,22 @@ struct wcsession { char *burst; int gzip_ok; /* Nonzero if Accept-encoding: gzip */ int is_mailbox; /* the current room is a private mailbox */ + + struct folder *cache_fold; /* cache the iconbar room list */ + int cache_max_folders; + int cache_num_floors; + time_t cache_timestamp; + + int current_iconbar; /* What's currently in the iconbar? */ +}; + +/* values for WC->current_iconbar */ +enum { + current_iconbar_menu, + current_iconbar_roomlist }; + #define num_parms(source) num_tokens(source, '|') /* Per-session data */ @@ -596,6 +610,7 @@ void http_transmit_thing(char *thing, size_t length, char *content_type, void unescape_input(char *buf); void do_iconbar(void); void do_iconbar_roomlist(void); +void do_selected_iconbar(void); void display_customize_iconbar(void); void commit_iconbar(void); int CtdlDecodeQuotedPrintable(char *decoded, char *encoded, int sourcelen);