Function

ECalComponentIdnew

since: 3.10

Declaration [src]

ECalComponentId*
e_cal_component_id_new (
  const gchar* uid,
  const gchar* rid
)

Description [src]

Creates a new ECalComponentId from uid and rid, which should be freed with e_cal_component_id_free().

Available since: 3.10

Parameters

uid

Type: const gchar*

A unique ID string.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
rid

Type: const gchar*

An optional recurrence ID string.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: ECalComponentId

An ECalComponentId.

The caller of the function takes ownership of the data, and is responsible for freeing it.