Method

PurpleRequestPageget_integer

unstable since: 3.0

Declaration [src]

int
purple_request_page_get_integer (
  PurpleRequestPage* page,
  const char* id
)

Description [src]

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

Available since: 3.0

Parameters

id

Type: const char*

The ID of the field.

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

Return value

Type: int

The integer value, if found, or 0 otherwise.