aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/cal-client.c10
-rw-r--r--calendar/cal-client/cal-client.c10
2 files changed, 20 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)
{
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index 3e0659357d..edf2aa0a12 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/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)
{