Electroneum
mesh_cb Struct Reference

#include <mesh.h>

Collaboration diagram for mesh_cb:

Public Attributes

struct mesh_cbnext
 
struct edns_data edns
 
uint16_t qid
 
uint16_t qflags
 
struct sldns_bufferbuf
 
mesh_cb_func_type cb
 
void * cb_arg
 

Detailed Description

Callback to result routine

Definition at line 234 of file mesh.h.

Member Data Documentation

◆ buf

struct sldns_buffer* mesh_cb::buf

buffer for reply

Definition at line 244 of file mesh.h.

◆ 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);

Definition at line 249 of file mesh.h.

◆ cb_arg

void* mesh_cb::cb_arg

user arg for callback

Definition at line 251 of file mesh.h.

◆ edns

struct edns_data mesh_cb::edns

edns data from query

Definition at line 238 of file mesh.h.

◆ next

struct mesh_cb* mesh_cb::next

next in list

Definition at line 236 of file mesh.h.

◆ qflags

uint16_t mesh_cb::qflags

flags of query, for reply flags

Definition at line 242 of file mesh.h.

◆ qid

uint16_t mesh_cb::qid

id of query, in network byteorder.

Definition at line 240 of file mesh.h.


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