Callback to result routine. More...
#include <mesh.h>
Data Fields | |
struct mesh_cb * | next |
next in list | |
struct edns_data | edns |
edns data from query | |
uint16_t | qid |
id of query, in network byteorder. | |
uint16_t | qflags |
flags of query, for reply flags | |
struct sldns_buffer * | buf |
buffer for reply | |
mesh_cb_func_type | cb |
callback routine for results. More... | |
void * | cb_arg |
user arg for callback | |
Callback to result routine.
mesh_cb_func_type mesh_cb::cb |
callback routine for results.
if rcode != 0 buf has message. called as cb(cb_arg, rcode, buf, sec_state, why_bogus, was_ratelimited);
Referenced by mesh_state_add_cb(), and mesh_state_cleanup().