1 #define SLEEPING 180 /* TCP connection timeout */
2 #define PORT_NUM 32767 /* port number to listen on */
3 #define SERVER "WebCit v2.0 (Velma)" /* who's in da house */
6 #define CLIENT_VERSION 200
7 #define DEFAULT_HOST "uncnsrd.mt-kisco.ny.us"
8 #define DEFAULT_PORT "citadel"
12 #define TARGET "webcit01"
15 #define QR_PERMANENT 1 /* Room does not purge */
16 #define QR_INUSE 2 /* Set if in use, clear if avail */
17 #define QR_PRIVATE 4 /* Set for any type of private room */
18 #define QR_PASSWORDED 8 /* Set if there's a password too */
19 #define QR_GUESSNAME 16 /* Set if it's a guessname room */
20 #define QR_DIRECTORY 32 /* Directory room */
21 #define QR_UPLOAD 64 /* Allowed to upload */
22 #define QR_DOWNLOAD 128 /* Allowed to download */
23 #define QR_VISDIR 256 /* Visible directory */
24 #define QR_ANONONLY 512 /* Anonymous-Only room */
25 #define QR_ANONOPT 1024 /* Anonymous-Option room */
26 #define QR_NETWORK 2048 /* Shared network room */
27 #define QR_PREFONLY 4096 /* Preferred status needed to enter */
28 #define QR_READONLY 8192 /* Aide status required to post */
29 #define QR_MAILBOX 16384 /* Set if this is a private mailbox */
34 struct webcontent *next;
39 struct urlcontent *next;
46 char serv_nodename[32];
47 char serv_humannode[64];
49 char serv_software[64];
51 char serv_bbs_city[64];
53 char serv_moreprompt[256];
57 extern char wc_host[256];
58 extern char wc_port[256];
59 extern char wc_username[256];
60 extern char wc_password[256];
61 extern char wc_roomname[256];
66 extern int is_room_aide;
68 extern struct serv_info serv_info;
69 extern unsigned room_flags;
70 extern char ugname[128];
75 void serv_printf(const char *format, ...);
78 void urlescputs(char *);