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 "uncnsrd.mt-kisco.ny.us"
11 #define DEFAULT_PORT "504"
15 #define TARGET "webcit01"
16 #define HOUSEKEEPING 60 /* Housekeeping frequency */
19 /* Room flags (from Citadel) */
20 #define QR_PERMANENT 1 /* Room does not purge */
21 #define QR_INUSE 2 /* Set if in use, clear if avail */
22 #define QR_PRIVATE 4 /* Set for any type of private room */
23 #define QR_PASSWORDED 8 /* Set if there's a password too */
24 #define QR_GUESSNAME 16 /* Set if it's a guessname room */
25 #define QR_DIRECTORY 32 /* Directory room */
26 #define QR_UPLOAD 64 /* Allowed to upload */
27 #define QR_DOWNLOAD 128 /* Allowed to download */
28 #define QR_VISDIR 256 /* Visible directory */
29 #define QR_ANONONLY 512 /* Anonymous-Only room */
30 #define QR_ANONOPT 1024 /* Anonymous-Option room */
31 #define QR_NETWORK 2048 /* Shared network room */
32 #define QR_PREFONLY 4096 /* Preferred status needed to enter */
33 #define QR_READONLY 8192 /* Aide status required to post */
34 #define QR_MAILBOX 16384 /* Set if this is a private mailbox */
37 /* Browser braindamage check values */
46 struct webcontent *next;
51 struct urlcontent *next;
58 char serv_nodename[32];
59 char serv_humannode[64];
61 char serv_software[64];
63 char serv_bbs_city[64];
65 char serv_moreprompt[256];
69 extern char wc_username[256];
70 extern char wc_password[256];
71 extern char wc_roomname[256];
76 extern int is_room_aide;
78 extern struct serv_info serv_info;
79 extern unsigned room_flags;
80 extern char ugname[128];
82 extern char *axdefs[];
83 extern int upload_length;
85 extern char floorlist[128][256];
89 void stuff_to_cookie(char *, int, char *, char *, char *);
90 void cookie_to_stuff(char *, int *, char *, char *, char *);
91 void locate_host(char *, int);