Method

RestParamsIternext

Declaration [src]

gboolean
rest_params_iter_next (
  RestParamsIter* iter,
  const char** name,
  RestParam** param
)

Description [src]

Advances iter and retrieves the name and/or parameter that are now pointed at as a result of this advancement. If FALSE is returned, name and param are set to NULL and the iterator becomes invalid.

Parameters

name

Type: const char**

A location to store the name, or NULL.

The argument will be set by the function.
The argument can be set to NULL by the method.
The argument can be NULL.
The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.
param

Type: RestParam

A location to store the RestParam, or NULL.

The argument will be set by the function.
The argument can be set to NULL by the method.
The argument can be NULL.
The returned data is owned by the instance.

Return value

Type: gboolean

FALSE if the end of the RestParams has been reached, TRUE otherwise.