Lines Matching refs:oi
178 * Initializes the given option iterator @p oi to point to the beginning of the
179 * @p pdu's option list. This function returns @p oi on success, @c NULL
184 * @param oi An iterator object that will be initilized.
191 * @return The iterator object @p oi on success, @c NULL otherwise.
194 coap_opt_iterator_t *oi,
198 * Updates the iterator @p oi to point to the next option. This function returns
200 * @p oi will be updated. In particular, @c oi->n specifies the current option's
201 * ordinal number (counted from @c 1), @c oi->number is the option's number
202 * value, and @c oi->option points to the beginning of the current option
203 * itself. When * advanced past the last option, @c oi->option will be @c NULL.
209 * @param oi The option iterator to update.
213 coap_opt_t *coap_option_next(coap_opt_iterator_t *oi);
216 * Retrieves the first option of number @p number from @p pdu. @p oi must
223 * @param oi An iterator object to use.
230 coap_opt_iterator_t *oi);