aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-client.c')
-rw-r--r--calendar/cal-client.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/cal-client.c b/calendar/cal-client.c
index 3e0659357d..edf2aa0a12 100644
--- a/calendar/cal-client.c
+++ b/calendar/cal-client.c
@@ -472,6 +472,16 @@ cal_client_get_object (CalClient *client, const char *uid)
return retval;
}
+/**
+ * cal_client_get_uids:
+ * @client: A calendar client.
+ * @type: Bitmask with types of objects to return.
+ *
+ * Queries a calendar for a list of unique identifiers corresponding to calendar
+ * objects whose type matches one of the types specified in the @type flags.
+ *
+ * Return value: A list of strings that are the sought UIDs.
+ **/
GList *
cal_client_get_uids (CalClient *client, CalObjType type)
{