* Store the language setting in the session cookie instead of as a preference. Resol...
[citadel.git] / webcit / webcit.h
index 074b4f8da307303f908a4fd294d7378206e69a1d..7cbc14e458f6a09e3409a94eba87f085e9e4bb99 100644 (file)
@@ -420,6 +420,7 @@ typedef struct _ParsedHttpHdrs {
        StrBuf *c_username;
        StrBuf *c_password;
        StrBuf *c_roomname;
+       StrBuf *c_language;
        StrBuf *RawCookie;
        int desired_session;
 
@@ -630,13 +631,20 @@ void InitialiseSemaphores(void);
 void begin_critical_section(int which_one);
 void end_critical_section(int which_one);
 
-
-void stuff_to_cookie(char *cookie, size_t clen, int session,
-                       StrBuf *user, StrBuf *pass, StrBuf *room);
-void cookie_to_stuff(StrBuf *cookie, int *session,
-                    StrBuf *user,
-                    StrBuf *pass,
-                    StrBuf *room);
+void stuff_to_cookie(char *cookie, size_t clen,
+               int session,
+               StrBuf *user,
+               StrBuf *pass,
+               StrBuf *room,
+               char *language
+);
+void cookie_to_stuff(StrBuf *cookie,
+               int *session,
+               StrBuf *user,
+               StrBuf *pass,
+               StrBuf *room,
+               StrBuf *language
+);
 void locate_host(StrBuf *TBuf, int);
 void become_logged_in(const StrBuf *user, const StrBuf *pass, StrBuf *serv_response);
 void openid_manual_create(void);