Creates a new #ECalComponentAlarms structure, associated with comp
.
Free the alarms with e_cal_component_alarms_free(), when no longer needed.
Add a copy of instance
into the list of instances. It is added
in no particular order.
an #ECalComponentAlarmInstance
Returns a newly allocated copy of alarms,
which should be freed with
e_cal_component_alarms_free(), when no longer needed.
The returned #GSList is owned by alarms
and should not be modified.
It's valid until the alarms
is freed or the list of instances is not
modified by other functions. The items are of type #ECalComponentAlarmInstance.
Remove the instance
from the list of instances. If found, the instance
is also freed.
an #ECalComponentAlarmInstance
Modifies the list of instances to copy of the given instances
.
#ECalComponentAlarmInstance objects to set
Add the instance
into the list of instances and assume ownership of it.
It is added in no particular order.
an #ECalComponentAlarmInstance
Replaces the list of instances with the given instances
and
assumes ownership of it. Neither the #GSList, nor its items, should
contain the same structures.
#ECalComponentAlarmInstance objects to take
Creates a new #ECalComponentAlarms structure, associated with comp
.
Free the alarms with e_cal_component_alarms_free(), when no longer needed.
Opaque structure, which represents alarm trigger instances for a particular component. Use the functions below to work with it.