#define PORT_NUM 2000 /* port number to listen on */
#define DEVELOPER_ID 0
#define CLIENT_ID 4
-#define CLIENT_VERSION 783 /* This version of WebCit */
-#define MINIMUM_CIT_VERSION 781 /* min required Citadel ver */
-#define LIBCITADEL_MIN 781 /* min required libcitadel ver */
+#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 DEFAULT_HOST "localhost" /* Default Citadel server */
#define DEFAULT_PORT "504"
#define TARGET "webcit01" /* Target for inline URL's */
-
+#define SRV_STATUS_MSG(ServerLineBuf) (ChrPtr(ServerLineBuf) + 4), (StrLength(ServerLineBuf) - 4)
#define MAJORCODE(a) (((int)(a / 100) ) * 100)
#define LISTING_FOLLOWS 100
long *IBSettingsVec; /* which icons should be shown / not shown? */
const StrBuf *floordiv_expanded; /* which floordiv currently expanded */
-
+/* Transcoding cache buffers; used to avoid to frequent realloc */
+ StrBuf *ConvertBuf1;
+ StrBuf *ConvertBuf2;
/* cache stuff for templates. TODO: find a smartrer way */
HashList *ServCfg; /* cache our server config for editing */
HashList *InetCfg; /* Our inet server config for editing */
ExpirePolicy Policy[maxpolicy];
+
+/* used by the blog viewer */
+ int bptlid; /* hash of thread currently being rendered */
};
MAX_SEMAPHORES
};
-
#ifndef num_parms
#define num_parms(source) num_tokens(source, '|')
#endif
void wDumpContent(int);
+void PutRequestLocalMem(void *Data, DeleteHashDataFunc DeleteIt);
void UrlescPutStrBuf(const StrBuf *strbuf);
void StrEscPuts(const StrBuf *strbuf);
int get_time_format_cached (void);
const char *get_selected_language(void);
void display_wiki_pagelist(void);
+HashList *GetRoomListHashLKRA(StrBuf *Target, WCTemplputParams *TP);
#define DATEFMT_FULL 0
#define DATEFMT_BRIEF 1