Home
last modified time | relevance | path

Searched refs:o2 (Results 1 – 2 of 2) sorted by relevance

/net-tools-3.5.0/libcoap/examples/
Dclient.c118 coap_option *o1, *o2; in order_opts() local
124 o2 = (coap_option *)(((coap_list_t *)b)->data); in order_opts()
126 return (COAP_OPTION_KEY(*o1) < COAP_OPTION_KEY(*o2)) in order_opts()
128 : (COAP_OPTION_KEY(*o1) != COAP_OPTION_KEY(*o2)); in order_opts()
/net-tools-3.5.0/
Dcoap-client.c1140 coap_option *o1, *o2; in order_opts() local
1146 o2 = (coap_option *)(((coap_list_t *)b)->data); in order_opts()
1148 return (COAP_OPTION_KEY(*o1) < COAP_OPTION_KEY(*o2)) ? -1 in order_opts()
1149 : (COAP_OPTION_KEY(*o1) != COAP_OPTION_KEY(*o2)); in order_opts()