init
Description:
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 */
}
Parameters:
this |
an uninitialized ParamsIter |
params |
a valid Params |