diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2018-09-10 16:32:55 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2018-09-10 16:32:55 +0000 |
| commit | dcaa814d350c5ee7deb2164502a24f2f698b9799 (patch) | |
| tree | 9cb62373e6c424da021043a171564ced3bb19501 /services/mesh.h | |
| parent | 4aea2433fa04a7a86c8972869bd021b7a3622dc8 (diff) | |
Diffstat (limited to 'services/mesh.h')
| -rw-r--r-- | services/mesh.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/services/mesh.h b/services/mesh.h index 67749accb35a..b4ce03e7e2a0 100644 --- a/services/mesh.h +++ b/services/mesh.h @@ -223,10 +223,11 @@ struct mesh_reply { /** * Mesh result callback func. - * called as func(cb_arg, rcode, buffer_with_reply, security, why_bogus); + * called as func(cb_arg, rcode, buffer_with_reply, security, why_bogus, + * was_ratelimited); */ -typedef void (*mesh_cb_func_type)(void*, int, struct sldns_buffer*, enum sec_status, - char*); +typedef void (*mesh_cb_func_type)(void* cb_arg, int rcode, struct sldns_buffer*, + enum sec_status, char* why_bogus, int was_ratelimited); /** * Callback to result routine @@ -242,9 +243,8 @@ struct mesh_cb { uint16_t qflags; /** buffer for reply */ struct sldns_buffer* buf; - /** callback routine for results. if rcode != 0 buf has message. - * called as cb(cb_arg, rcode, buf, sec_state); + * called as cb(cb_arg, rcode, buf, sec_state, why_bogus, was_ratelimited); */ mesh_cb_func_type cb; /** user arg for callback */ |
