/*
- * Copyright (c) 1987-2010 by the citadel.org team
+ * Copyright (c) 1987-2011 by the citadel.org team
*
- * This program is free software; you can redistribute it and/or modify
+ * This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
#define HTTP_TRACING 1
*/
+#define DO_DBG_QR 0
+#define DBG_QR(x) if(DO_DBG_QR) _DBG_QR(x)
+#define DBG_QR2(x) if(DO_DBG_QR) _DBG_QR2(x)
+
#ifdef HTTP_TRACING
#undef HAVE_ZLIB_H
#undef HAVE_ZLIB
#define PORT_NUM 2000 /* port number to listen on */
#define DEVELOPER_ID 0
#define CLIENT_ID 4
-#define CLIENT_VERSION 789 /* This version of WebCit */
-#define MINIMUM_CIT_VERSION 789 /* min required Citadel ver */
-#define LIBCITADEL_MIN 789 /* min required libcitadel ver */
+#define CLIENT_VERSION 800 /* This version of WebCit */
+#define MINIMUM_CIT_VERSION 800 /* min required Citadel ver */
+#define LIBCITADEL_MIN 800 /* min required libcitadel ver */
#define DEFAULT_HOST "localhost" /* Default Citadel server */
#define DEFAULT_PORT "504"
#define TARGET "webcit01" /* Target for inline URL's */
/* Session local Members */
int serv_sock; /* Client socket to Citadel server */
- StrBuf *ReadBuf; /* here we keep our stuff while reading linebuffered from the server. */
+ StrBuf *ReadBuf; /* linebuffered reads from the server */
StrBuf *MigrateReadLineBuf; /* here we buffer legacy server read stuff */
const char *ReadPos; /* whats our read position in ReadBuf? */
int last_chat_seq; /* When in chat - last message seq# we saw */
time_t last_pager_check; /* last time we polled for instant msgs */
ServInfo *serv_info; /* Information about the citserver we're connected to */
int is_ajax; /* are we doing an ajax request? */
+ StrBuf *PushedDestination; /* Where to go after login, registration, etc. */
/* Request local Members */
StrBuf *CLineBuf; /* linebuffering client stuff */
char ImportantMessage[SIZ];
StrBuf *ImportantMsg;
HashList *Directory; /* Parts of the directory URL in snippets */
- const Floor *CurrentFloor; /**< when Parsing REST, which floor are we on? */
+ const Floor *CurrentFloor; /* when Parsing REST, which floor are we on? */
/* accounting */
StrBuf *wc_username; /* login name of current user */
void openid_manual_create(void);
void display_login(void);
void display_openids(void);
+void display_default_landing_page(void);
void do_welcome(void);
void do_logout(void);
void display_main_menu(void);