Method

IbisCapabilitieslookup

since: 0.1

Declaration [src]

const char*
ibis_capabilities_lookup (
  IbisCapabilities* capabilities,
  const char* name,
  gboolean* found
)

Description [src]

Gets the value that the name capability provided if it was advertised. To determine if the capability was advertised use the found parameter.

Available since: 0.1

Parameters

name

Type: const char*

The name of the capability to look for.

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

Type: gboolean*

A return address for a boolean on whether the capability was advertised or not.

The argument will be set by the function.
The argument can be set to NULL by the method.

Return value

Type: const char*

The value of the capability named name.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.