Method

IbisFeaturesget_boolean

since: 0.3

Declaration [src]

gboolean
ibis_features_get_boolean (
  IbisFeatures* features,
  const char* parameter
)

Description [src]

Gets the value of a boolean parameter.

Use this function to obtain the value of a parameter which is not covered by any of the properties of the IbisFeatures class but was parsed from an IbisMessage using ibis_features_parse().

Available since: 0.3

Parameters

parameter

Type: const char*

A parameter name.

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

Return value

Type: gboolean

TRUE if parameter was set or FALSE if it either does not exist or is not a boolean parameter. A parameter is considered boolean if it was advertised by the server without specifying a value.