Functions | |
void | cal_process_object (icalcomponent *cal, int recursion_level, long msgnum, char *cal_partnum) |
Process a calendar object ...at this point it's already been deserialized by cal_process_attachment(). | |
void | cal_process_attachment (char *part_source, long msgnum, char *cal_partnum) |
process calendar mail atachment Deserialize a calendar object in a message so it can be processed. (This is the main entry point for these things) | |
void | respond_to_request (void) |
accept/decline meeting Respond to a meeting request | |
void | handle_rsvp (void) |
Handle an incoming RSVP. |
void cal_process_object | ( | icalcomponent * | cal, | |
int | recursion_level, | |||
long | msgnum, | |||
char * | cal_partnum | |||
) |
Process a calendar object ...at this point it's already been deserialized by cal_process_attachment().
cal | the calendar object | |
recursion_level | call stack depth ?????? | |
msgnum | number of the mesage in our db | |
cal_partnum | of the calendar object ???? |
Leading HTML for the display of this object
Look for a method
See what we need to do with this
Only show start/end times if we're actually looking at the VEVENT component. Otherwise it shows bogus dates for things like timezone.
If the component has attendees, iterate through them.
screen name or email address
participant status
If the component has subcomponents, recurse through them.
If this is a REQUEST, display conflicts and buttons
Display the Accept/Decline buttons
If this is a REPLY, display update button
Display the update buttons
Trailing HTML for the display of this object
Definition at line 73 of file calendar.c.
References escputs(), extract_int(), extract_token(), fmt_date(), lprintf(), partstat_as_string(), safestrncpy(), serv_getln(), serv_printf(), snprintf(), striplt(), wc_strftime(), and wprintf().
Referenced by cal_process_attachment().
void cal_process_attachment | ( | char * | part_source, | |
long | msgnum, | |||
char * | cal_partnum | |||
) |
process calendar mail atachment Deserialize a calendar object in a message so it can be processed. (This is the main entry point for these things)
part_source | the part of the message we want to parse | |
msgnum | number of the mesage in our db | |
cal_partnum | the number of the calendar item |
Definition at line 329 of file calendar.c.
References cal_process_object(), ical_dezonify(), and wprintf().