Method
ECalClientgenerate_instances_for_uid_sync
since: 3.48
Declaration [src]
void
e_cal_client_generate_instances_for_uid_sync (
ECalClient* client,
const gchar* uid,
time_t start,
time_t end,
GCancellable* cancellable,
ECalRecurInstanceCb cb,
gpointer cb_data
)
Description [src]
Does a combination of e_cal_client_get_object_list() and
e_cal_recur_generate_instances_sync(), like
e_cal_client_generate_instances_sync(), but for a single object.
The callback function should do a g_object_ref() of the calendar component
it gets passed if it intends to keep it around, since it will be unref’ed
as soon as the callback returns.
Available since: 3.48
Parameters
uid-
Type:
const gchar*A component UID to generate instances for.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. start-
Type:
time_tStart time for query.
end-
Type:
time_tEnd time for query.
cancellable-
Type:
GCancellableA
GCancellable; can beNULL.The argument can be NULL.The data is owned by the caller of the method. cb-
Type:
ECalRecurInstanceCbCallback for each generated instance.
cb_data-
Type:
gpointerClosure data for the callback.
The argument can be NULL.The data is owned by the caller of the method.