#define SLEEPING 180 /* TCP connection timeout */
-#define PORT_NUM 32764 /* port number to listen on */
+#define PORT_NUM 32763 /* port number to listen on */
#define SERVER "WebCit v2.0 (Velma)" /* who's in da house */
#define DEVELOPER_ID 0
#define CLIENT_ID 4
#define CLIENT_VERSION 200
-#define DEFAULT_HOST "uncnsrd.mt-kisco.ny.us"
-#define DEFAULT_PORT "504"
+#define DEFAULT_HOST "localhost"
+#define DEFAULT_PORT "citadel"
+#define LB (1)
+#define RB (2)
+#define QU (3)
+#define TARGET "webcit01"
+
+
+#define QR_PERMANENT 1 /* Room does not purge */
+#define QR_INUSE 2 /* Set if in use, clear if avail */
+#define QR_PRIVATE 4 /* Set for any type of private room */
+#define QR_PASSWORDED 8 /* Set if there's a password too */
+#define QR_GUESSNAME 16 /* Set if it's a guessname room */
+#define QR_DIRECTORY 32 /* Directory room */
+#define QR_UPLOAD 64 /* Allowed to upload */
+#define QR_DOWNLOAD 128 /* Allowed to download */
+#define QR_VISDIR 256 /* Visible directory */
+#define QR_ANONONLY 512 /* Anonymous-Only room */
+#define QR_ANONOPT 1024 /* Anonymous-Option room */
+#define QR_NETWORK 2048 /* Shared network room */
+#define QR_PREFONLY 4096 /* Preferred status needed to enter */
+#define QR_READONLY 8192 /* Aide status required to post */
+#define QR_MAILBOX 16384 /* Set if this is a private mailbox */
+
+
struct webcontent {
struct webcontent *next;
void serv_printf(const char *format, ...);
char *bstr();
+char *urlesc(char *);
+void urlescputs(char *);