3 #define SLEEPING 180 /* TCP connection timeout */
4 #define WEBCIT_TIMEOUT 900 /* WebCit session timeout */
5 #define PORT_NUM 2000 /* port number to listen on */
6 #define SERVER "WebCit v2.0 (Velma)" /* who's in da house */
9 #define CLIENT_VERSION 200
10 #define DEFAULT_HOST "localhost"
11 #define DEFAULT_PORT "citadel"
15 #define TARGET "webcit01"
16 #define HOUSEKEEPING 60 /* Housekeeping frequency */
19 #define QR_PERMANENT 1 /* Room does not purge */
20 #define QR_INUSE 2 /* Set if in use, clear if avail */
21 #define QR_PRIVATE 4 /* Set for any type of private room */
22 #define QR_PASSWORDED 8 /* Set if there's a password too */
23 #define QR_GUESSNAME 16 /* Set if it's a guessname room */
24 #define QR_DIRECTORY 32 /* Directory room */
25 #define QR_UPLOAD 64 /* Allowed to upload */
26 #define QR_DOWNLOAD 128 /* Allowed to download */
27 #define QR_VISDIR 256 /* Visible directory */
28 #define QR_ANONONLY 512 /* Anonymous-Only room */
29 #define QR_ANONOPT 1024 /* Anonymous-Option room */
30 #define QR_NETWORK 2048 /* Shared network room */
31 #define QR_PREFONLY 4096 /* Preferred status needed to enter */
32 #define QR_READONLY 8192 /* Aide status required to post */
33 #define QR_MAILBOX 16384 /* Set if this is a private mailbox */
38 struct webcontent *next;
43 struct urlcontent *next;
50 char serv_nodename[32];
51 char serv_humannode[64];
53 char serv_software[64];
55 char serv_bbs_city[64];
57 char serv_moreprompt[256];
61 extern char wc_username[256];
62 extern char wc_password[256];
63 extern char wc_roomname[256];
68 extern int is_room_aide;
70 extern struct serv_info serv_info;
71 extern unsigned room_flags;
72 extern char ugname[128];
74 extern char *axdefs[];
75 extern int upload_length;
77 extern char floorlist[128][256];
80 void stuff_to_cookie(char *, int, char *, char *, char *);
81 void cookie_to_stuff(char *, int *, char *, char *, char *);