Initialize a parameter iterator over params. Modifying params after calling
this function invalidates the returned iterator.
|[
RestParamsIter iter;
const char *name;
RestParam *param;
rest_params_iter_init (&iter, params);
while (rest_params_iter_next (&iter, &name, ¶m)) {
/* do something with name and param */
}
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 not set and the iterator becomes invalid.
Initialize a parameter iterator over
params
. Modifyingparams
after calling this function invalidates the returned iterator. |[ RestParamsIter iter; const char *name; RestParam *param;rest_params_iter_init (&iter, params); while (rest_params_iter_next (&iter, &name, ¶m)) { /* do something with name and param */ }