Method

PurpleMediaCodecget_optional_parameter

since: 2.6

Declaration [src]

PurpleKeyValuePair*
purple_media_codec_get_optional_parameter (
  PurpleMediaCodec* codec,
  const gchar* name,
  const gchar* value
)

Description [src]

Gets an optional parameter based on the values given.

Available since: 2.6

Parameters

name

Type: const gchar*

The name of the parameter to search for.

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

Type: const gchar*

The value to search for or NULL.

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

Return value

Type: PurpleKeyValuePair

The value found or NULL.

The data is owned by the instance.