]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
* Display PARTSTAT for attendees
[citadel.git] / webcit / webcit.h
index 294762e38ffd6e6fd9d2f57892f7673aa9a3d015..16cfe39f6a3a18291127776115cf1823542be670 100644 (file)
@@ -159,13 +159,15 @@ struct wcsession {
        char *upload;
        int new_mail;
        int remember_new_mail;
-       int need_vali;
+       int need_regi;                  /* This user needs to register. */
+       int need_vali;                  /* New users require validation. */
+       char cs_inet_email[SIZ];        /* User's preferred Internet addr. */
         pthread_mutex_t SessionMutex;  /* mutex for exclusive access */
         time_t lastreq;                        /* Timestamp of most recent HTTP */
        int killthis;                   /* Nonzero == purge this session */
        struct march *march;            /* march mode room list */
        char reply_to[SIZ];             /* reply-to address */
-       long msgarr[1024];              /* for read operations */
+       long msgarr[4096];              /* for read operations */
        int fake_frames;
        int is_wap;                     /* Client is a WAP gateway */
        struct urlcontent *urlstrings;
@@ -233,6 +235,7 @@ void url(char *buf);
 void escputs1(char *strbuf, int nbsp);
 long extract_long(char *source, long int parmnum);
 int extract_int(char *source, int parmnum);
+void stripout(char *str, char leftboundary, char rightboundary);
 void dump_vars(void);
 void embed_main_menu(void);
 void serv_read(char *buf, int bytes);
@@ -302,6 +305,7 @@ void smart_goto(char *);
 void worker_entry(void);
 void session_loop(struct httprequest *);
 void fmt_date(char *buf, time_t thetime);
+void fmt_time(char *buf, time_t thetime);
 void httpdate(char *buf, time_t thetime);
 void end_webcit_session(void);
 void page_popup(void);
@@ -352,6 +356,9 @@ void cal_process_attachment(char *part_source, long msgnum, char *cal_partnum);
 void display_calendar(long msgnum);
 void display_task(long msgnum);
 void do_calendar_view(void);
+void free_calendar_buffer(void);
+void calendar_summary_view(void);
+int load_msg_ptrs(char *servcmd);
 
 #ifdef HAVE_ICAL_H
 void display_edit_task(void);
@@ -364,6 +371,9 @@ void display_edit_individual_event(icalcomponent *supplied_vtodo, long msgnum);
 void save_individual_event(icalcomponent *supplied_vtodo, long msgnum);
 void generate_new_uid(char *);
 void respond_to_request(void);
+void handle_rsvp(void);
+void ical_dezonify(icalcomponent *cal);
+void partstat_as_string(char *buf, icalproperty *attendee);
 #endif
 
 extern char *months[];