* and turns them into calendar objects
*/
void ical_locate_part(char *name, char *filename, char *partnum, char *disp,
- void *content, char *cbtype, size_t length, char *encoding,
+ void *content, char *cbtype, char *cbcharset, size_t length, char *encoding,
void *cbuserdata) {
struct ical_respond_data *ird = NULL;
/* Now that we've processed this message, we don't need it
* anymore. So delete it.
*/
- CtdlDeleteMessages(CC->room.QRname, msgnum, "");
+ CtdlDeleteMessages(CC->room.QRname, msgnum, "", 1);
/* Free the memory we allocated and return a response. */
icalcomponent_free(ird.cal);
* to fetch the object being updated)
*/
void ical_locate_original_event(char *name, char *filename, char *partnum, char *disp,
- void *content, char *cbtype, size_t length, char *encoding,
+ void *content, char *cbtype, char *cbcharset, size_t length, char *encoding,
void *cbuserdata) {
struct original_event_container *oec = NULL;
/* Now that we've processed this message, we don't need it
* anymore. So delete it. (Maybe make this optional?)
*/
- CtdlDeleteMessages(CC->room.QRname, msgnum, "");
+ CtdlDeleteMessages(CC->room.QRname, msgnum, "", 1);
/* Free the memory we allocated and return a response. */
icalcomponent_free(ird.cal);
* and the start time (becomes message date/time).
*/
void ical_ctdl_set_exclusive_msgid(char *name, char *filename, char *partnum,
- char *disp, void *content, char *cbtype, size_t length,
+ char *disp, void *content, char *cbtype, char *cbcharset, size_t length,
char *encoding, void *cbuserdata)
{
icalcomponent *cal, *nested_event, *nested_todo;
/* First determine if this is a calendar or tasks room */
if ( (CC->curr_view != VIEW_CALENDAR)
&&(CC->curr_view != VIEW_TASKS) ) {
- lprintf(CTDL_DEBUG, "*** FIXME FOOFOO NOT SAVING FOOFOO FIXME ***\n");
return(0); /* Not a vCalendar-centric room */
}
/* It must be an RFC822 message! */
if (msg->cm_format_type != 4) {
- lprintf(CTDL_DEBUG, "*** FIXME BARBAR NOT SAVING BARBAR FIXME ***\n");
return 1; /* You tried to save a non-RFC822 message! */
}
* Things we need to do after saving a calendar event.
*/
void ical_obj_aftersave_backend(char *name, char *filename, char *partnum,
- char *disp, void *content, char *cbtype, size_t length,
+ char *disp, void *content, char *cbtype, char *cbcharset, size_t length,
char *encoding, void *cbuserdata)
{
icalcomponent *cal;