X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.h;h=1c8397df9bf91796629f300b76bb2ca0b1692468;hb=a45f3b13b5d2b1eef85b77c0d5edcf017fee1e34;hp=d99b17e27511f94a22475d4dce44ff41f050e9a9;hpb=a7ab3f41cf66d9b57d5fd68102d084228a086ff1;p=citadel.git diff --git a/webcit/webcit.h b/webcit/webcit.h index d99b17e27..1c8397df9 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -326,6 +326,15 @@ struct folder { int num_rooms; /**< If this is a floor, how many rooms does it have */ }; + +/* Linked list member for a list of webcit preferences for a user + */ +struct wcpref { + struct wcpref *next; + char *pref_key; + char *pref_value; +}; + /** * \brief One of these is kept for each active Citadel session. * HTTP transactions are bound to on e at a time. @@ -375,7 +384,6 @@ struct wcsession { struct wcsubst *vars; /**< HTTP variable substitutions for this page */ char this_page[512]; /**< URL of current page */ char http_host[512]; /**< HTTP Host: header */ - char *preferences; /**< WebCit preferences for this user */ #ifdef WEBCIT_WITH_CALENDAR_SERVICE /** \brief ical???? */ struct disp_cal { @@ -405,6 +413,7 @@ struct wcsession { time_t last_pager_check; /**< last time we polled for instant msgs */ int nonce; /**< session nonce (to prevent session riding) */ int time_format_cache; /**< which timeformat does our user like? */ + struct wcpref *first_pref; /* linked list of preferences */ }; /** values for WC->current_iconbar */