]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
* When converting "anything that looks like a URL" to a real link, first
[citadel.git] / webcit / webcit.h
index 2f3b340a1f4c1da9b5ad40d9beaeac3eef861b4d..af858845cb6e429584bce71610614470b6ecb80c 100644 (file)
 #define SLEEPING               180             /* TCP connection timeout */
 #define WEBCIT_TIMEOUT         900             /* WebCit session timeout */
 #define PORT_NUM               2000            /* port number to listen on */
-#define SERVER                 "WebCit v4.10"  /* who's in da house */
+#define SERVER                 "WebCit v5.00"  /* who's in da house */
 #define DEVELOPER_ID           0
 #define CLIENT_ID              4
-#define CLIENT_VERSION         410             /* This version of WebCit */
-#define MINIMUM_CIT_VERSION    606             /* min required Citadel vers */
+#define CLIENT_VERSION         500             /* This version of WebCit */
+#define MINIMUM_CIT_VERSION    607             /* min required Citadel vers */
 #define DEFAULT_HOST           "localhost"     /* Default Citadel server */
 #define DEFAULT_PORT           "504"
 #define LB                     (1)             /* Internal escape chars */
@@ -213,6 +213,7 @@ struct wcsession {
        int num_cal;
 #endif
        struct wc_attachment *first_attachment;
+       char ImportantMessage[SIZ];
 };
 
 #define extract(dest,source,parmnum)   extract_token(dest,source,parmnum,'|')
@@ -251,7 +252,7 @@ int tcp_connectsock(char *, char *);
 void serv_gets(char *strbuf);
 void serv_puts(char *string);
 void whobbs(void);
-void fmout(FILE * fp);
+void fmout(FILE *fp, char *align);
 void wDumpContent(int);
 void serv_printf(const char *format,...);
 char *bstr(char *key);
@@ -289,7 +290,6 @@ void goto_private(void);
 void zapped_list(void);
 void display_zap(void);
 void zap(void);
-void display_error(char *);
 void display_success(char *);
 void display_entroom(void);
 void entroom(void);
@@ -408,11 +408,17 @@ void handle_rsvp(void);
 void ical_dezonify(icalcomponent *cal);
 void partstat_as_string(char *buf, icalproperty *attendee);
 icalcomponent *ical_encapsulate_subcomponent(icalcomponent *subcomp);
+void check_attendee_availability(icalcomponent *supplied_vevent);
+void do_freebusy(char *req);
 #endif
 
 extern char *months[];
 extern char *days[];
 void read_server_binary(char *buffer, size_t total_len);
+char *read_server_text(void);
 int goto_config_room(void);
 long locate_user_vcard(char *username, long usernum);
 void sleeeeeeeeeep(int);
+void http_transmit_thing(char *thing, size_t length, char *content_type,
+                        int is_static);
+void unescape_input(char *buf);