Lines Matching refs:coap_opt_t
25 typedef unsigned char coap_opt_t; typedef
26 #define PCHAR(p) ((coap_opt_t *)(p))
47 size_t coap_opt_parse(const coap_opt_t *opt,
60 size_t coap_opt_size(const coap_opt_t *opt);
71 coap_opt_t *options_start(coap_pdu_t *pdu);
79 ((coap_opt_t *)((unsigned char *)(opt) + COAP_OPT_SIZE(opt)))
258 coap_opt_t *next_option; /**< pointer to the unparsed next option */
298 coap_opt_t *coap_option_next(coap_opt_iterator_t *oi);
313 coap_opt_t *coap_check_option(coap_pdu_t *pdu,
331 size_t coap_opt_setheader(coap_opt_t *opt,
351 size_t coap_opt_encode(coap_opt_t *opt,
367 unsigned short coap_opt_delta(const coap_opt_t *opt);
389 unsigned short coap_opt_length(const coap_opt_t *opt);
403 unsigned char *coap_opt_value(coap_opt_t *opt);
406 #define COAP_OPT_VALUE(opt) coap_opt_value((coap_opt_t *)opt)