X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.h;h=7cbc14e458f6a09e3409a94eba87f085e9e4bb99;hb=502b5f3d4e7ce4ad732e408a1fde39c5bbc873d8;hp=074b4f8da307303f908a4fd294d7378206e69a1d;hpb=0062014d4e66c839106c1bef608e3316c9935a1b;p=citadel.git diff --git a/webcit/webcit.h b/webcit/webcit.h index 074b4f8da..7cbc14e45 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -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);