unbound: mesh_cb Struct Reference

unbound 0.1

Data Fields
mesh_cb Struct Reference

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.
void * | cb_arg
| user arg for callback

## Detailed Description

Callback to result routine.

## Field Documentation

## ◆ cb

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_do_callback(), mesh_state_add_cb(), mesh_state_cleanup(), and mesh_state_del_cb().

The documentation for this struct was generated from the following file:

- services/mesh.h