Function

EDataCalCalMetaBackendInfonew

since: 3.26

Declaration [src]

ECalMetaBackendInfo*
e_cal_meta_backend_info_new (
  const gchar* uid,
  const gchar* revision,
  const gchar* object,
  const gchar* extra
)

Description [src]

Creates a new ECalMetaBackendInfo prefilled with the given values.

Available since: 3.26

Parameters

uid

Type: const gchar*

A component UID; cannot be NULL.

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

Type: const gchar*

The component revision; can be NULL.

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

Type: const gchar*

The component object as an iCalendar string; can be NULL.

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

Type: const gchar*

Extra backend-specific data; can be NULL.

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: ECalMetaBackendInfo

A new ECalMetaBackendInfo. Free it with e_cal_meta_backend_info_free(), when no longer needed.

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