Lines Matching defs:number
40 * the number of bytes that have been parsed, or @c 0 on error. An error is
48 * @return The number of bytes parsed or @c 0 on error.
59 * @return The number of bytes between @p opt and the end of the option
73 * The number of option types below 256 that can be stored in an
81 * The number of option types above 255 that can be stored in an
118 * Sets the corresponding entry for @p number in @p filter. This
120 * there is not enough space to fit the given number in the filter).
123 * @param number The option number for which the bit should be set.
127 int coap_option_filter_set(coap_opt_filter_t *filter, coap_option_num_t number);
130 * Clears the corresponding entry for @p number in @p filter. This
134 * @param number The option number that should be cleared from the filter.
139 coap_option_num_t number);
142 * Checks if @p number is contained in @p filter. This function returns
146 * @param number The option number to search for.
148 * @return @c 1 if @p number was found, @c 0 otherwise
150 int coap_option_filter_get(coap_opt_filter_t *filter, coap_option_num_t number);
170 coap_option_num_t number; /**< decoded option number */
185 * @param filter An optional option number filter.
186 * With @p number != @c COAP_OPT_ALL, coap_option_next()
201 * ordinal number (counted from @c 1), @c oi->number is the option's number
216 * Retrieves the first option of number @p number from @p pdu. @p oi must
218 * function to filter only options with number @p number. This function returns
219 * the first option with this number, or @c NULL if not found.
222 * @param number The option number to search for.
225 * @return A pointer to the first option of number @p number, or @c NULL if
229 coap_option_num_t number,
234 * the number of bytes that were required to encode @p delta and @p length or @c
244 * @return The number of bytes used or @c 0 on error.
258 * @return The number of bytes required to encode this option.
264 * number of bytes written to @p opt or @c 0 on error. This happens especially
274 * @return The number of bytes that have been written to @p opt or @c 0 on
327 uint16_t number; /**< the option number (no delta coding) */
341 * @param number The option number (COAP_OPTION_*)
347 coap_optlist_t *coap_new_optlist(uint16_t number,