Method

PurpleRequestFieldsget_integer

Declaration [src]

int
purple_request_fields_get_integer (
  const PurpleRequestFields* fields,
  const char* id
)

Description [src]

Returns the integer value of a field with the specified ID.

Parameters

id const char*
 

The ID of the field.

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

Return value

Returns: int
 

The integer value, if found, or 0 otherwise.