Libical API Documentation 4.0 STABLE VERSION [Visit the v3.0 documentation]
Loading...
Searching...
No Matches
icalmessage.h File Reference

Defines functions for creating component reply messages. More...

Go to the source code of this file.

Functions

icalcomponent * icalmessage_new_accept_reply (const icalcomponent *c, const char *user, const char *msg)
icalcomponent * icalmessage_new_counterpropose_reply (const icalcomponent *oldc, const icalcomponent *newc, const char *user, const char *msg)
icalcomponent * icalmessage_new_decline_reply (const icalcomponent *c, const char *user, const char *msg)
icalcomponent * icalmessage_new_delegate_reply (const icalcomponent *c, const char *user, const char *delegatee, const char *msg)
icalcomponent * icalmessage_new_error_reply (const icalcomponent *c, const char *user, const char *msg, const char *debug, icalrequeststatus code)

Detailed Description

Defines functions for creating component reply messages.

Definition in file icalmessage.h.

Function Documentation

◆ icalmessage_new_accept_reply()

icalcomponent * icalmessage_new_accept_reply ( const icalcomponent * c,
const char * user,
const char * msg )

Constructs an icalcomponent for an accept reply.

Parameters
cis a pointer to a valid icalcomponent
useris a pointer to a char string containing a user from the attendee list
msgis a pointer to a char string containing the message
Returns
a pointer to the newly constructed icalcomponent; or NULL if an error occurred like the specified user was not included in the attendee list.

Definition at line 155 of file icalmessage.c.

◆ icalmessage_new_counterpropose_reply()

icalcomponent * icalmessage_new_counterpropose_reply ( const icalcomponent * oldc,
const icalcomponent * newc,
const char * user,
const char * msg )

Constructs a new icalcomponent for a counterproposal reply for an existing icalcomponent.

Parameters
oldcis a pointer to a valid icalcomponent for the current reply to modify
newcis a pointer to a valid icalcomponent for the newly modified version of oldc
useris a pointer to a char string containing a user from the attendee list
msgis a pointer to a char string containing the message
Returns
a pointer to the newly constructed icalcomponent; or NULL if an error occurred like the specified user was not included in the attendee list.

Definition at line 200 of file icalmessage.c.

◆ icalmessage_new_decline_reply()

icalcomponent * icalmessage_new_decline_reply ( const icalcomponent * c,
const char * user,
const char * msg )

Constructs a new icalcomponent for a decline reply for an existing icalcomponent.

Parameters
cis a pointer to a valid icalcomponent
useris a pointer to a char string containing a user from the attendee list
msgis a pointer to a char string containing the message
Returns
a pointer to the newly constructed icalcomponent; or NULL if an error occurred like the specified user was not included in the attendee list.

Definition at line 178 of file icalmessage.c.

◆ icalmessage_new_delegate_reply()

icalcomponent * icalmessage_new_delegate_reply ( const icalcomponent * c,
const char * user,
const char * delegatee,
const char * msg )

Constructs a new icalcomponent for a delegate-to reply for an existing icalcomponent.

Parameters
cis a pointer to a valid icalcomponent
useris a pointer to a char string containing a user from the attendee list
delegateeis a pointer to a char string containing a delegatee, possibly not already included in the attendee list.
msgis a pointer to a char string containing the message
Returns
a pointer to the newly constructed icalcomponent; or NULL if an error occurred like the specified user was not included in the attendee list.

Definition at line 216 of file icalmessage.c.

◆ icalmessage_new_error_reply()

icalcomponent * icalmessage_new_error_reply ( const icalcomponent * c,
const char * user,
const char * msg,
const char * debug,
icalrequeststatus code )

Constructs a new icalcomponent for an error reply for an existing icalcomponent.

Parameters
cis a pointer to a valid icalcomponent
useris a pointer to a char string containing a user from the attendee list
msgis a pointer to a char string containing the error message
debugis a pointer to a char string to use the debug part of the icalreqstattype to use
codeis a icalrequeststatus code part of the icalreqstattype to use
Returns
a pointer to the newly constructed icalcomponent; or NULL if an error occurred like the specified user was not included in the attendee list.

Definition at line 275 of file icalmessage.c.