Top | ![]() |
![]() |
![]() |
![]() |
ECalComponentId * | e_cal_component_id_new () |
ECalComponentId * | e_cal_component_id_new_take () |
ECalComponentId * | e_cal_component_id_copy () |
void | e_cal_component_id_free () |
guint | e_cal_component_id_hash () |
gboolean | e_cal_component_id_equal () |
const gchar * | e_cal_component_id_get_uid () |
void | e_cal_component_id_set_uid () |
const gchar * | e_cal_component_id_get_rid () |
void | e_cal_component_id_set_rid () |
ECalComponentId * e_cal_component_id_new (const gchar *uid
,const gchar *rid
);
Creates a new ECalComponentId from uid
and rid
, which should be
freed with e_cal_component_id_free()
.
Since: 3.10
ECalComponentId * e_cal_component_id_new_take (gchar *uid
,gchar *rid
);
Creates a new ECalComponentId from uid
and rid
, which should be
freed with e_cal_component_id_free()
. The function assumes ownership
of uid
and rid
parameters.
uid |
a unique ID string. |
[transfer full] |
rid |
an optional recurrence ID string. |
[transfer full][nullable] |
Since: 3.34
ECalComponentId *
e_cal_component_id_copy (const ECalComponentId *id
);
Returns a newly allocated copy of id
, which should be freed with
e_cal_component_id_free()
.
Since: 3.10
void
e_cal_component_id_free (gpointer id
);
Free the id
, previously created by e_cal_component_id_new()
,
e_cal_component_id_new_take()
or e_cal_component_id_copy()
.
[skip]
guint
e_cal_component_id_hash (gconstpointer id
);
Generates a hash value for id
.
Since: 3.10
gboolean e_cal_component_id_equal (gconstpointer id1
,gconstpointer id2
);
Compares two ECalComponentId structs for equality.
id1 |
the first ECalComponentId. |
[type ECalComponentId] |
id2 |
the second ECalComponentId. |
[type ECalComponentId] |
Since: 3.10
const gchar *
e_cal_component_id_get_uid (const ECalComponentId *id
);
The UID part of the id
. The returned
string is owned by id
and it's valid until it's changed
with e_cal_component_id_set_uid()
or until the id
is freed.
[transfer none]
Since: 3.34
void e_cal_component_id_set_uid (ECalComponentId *id
,const gchar *uid
);
Sets the UID part of the id
.
Since: 3.34
const gchar *
e_cal_component_id_get_rid (const ECalComponentId *id
);
The RECURRENCE-ID part of the id
.
The returned string is owned by id
and it's valid until it's
changed with e_cal_component_id_set_rid()
or until the id
is freed.
[transfer none][nullable]
Since: 3.34
void e_cal_component_id_set_rid (ECalComponentId *id
,const gchar *rid
);
Sets the RECURRENCE-ID part of the id
. The rid
can be NULL
or an empty string, where both are treated as NULL
, which
means the id
has not RECURRENCE-ID.
Since: 3.34