]> code.citadel.org Git - citadel.git/blob - webcit/webcit.h
0402eed737dc4c31e87f68c512b779dbbe5f5145
[citadel.git] / webcit / webcit.h
1 #define SLEEPING        180                     /* TCP connection timeout */
2 #define PORT_NUM        32764                   /* port number to listen on */
3 #define SERVER          "WebCit v2.0 (Velma)"   /* who's in da house */
4 #define DEVELOPER_ID    0
5 #define CLIENT_ID       4
6 #define CLIENT_VERSION  200
7 #define DEFAULT_HOST    "uncnsrd.mt-kisco.ny.us"
8 #define DEFAULT_PORT    "504"
9
10 extern char wc_host[256];
11 extern char wc_port[256];
12 extern char wc_username[256];
13 extern char wc_password[256];
14 extern char wc_roomname[256];
15 extern int connected;
16 extern int logged_in;
17 extern int serv_sock;
18
19 struct webcontent {
20         struct webcontent *next;
21         char w_data[256];
22         };
23
24 struct urlcontent {
25         struct urlcontent *next;
26         char url_key[32];
27         char *url_data;
28         };
29
30 void serv_printf(const char *format, ...);
31 char *bstr();