mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #779: [doc] Missing documention in ub_resolve_event() for
callback parameter was_ratelimited.
This commit is contained in:
parent
4e305e644b
commit
f72116883b
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
11 November 2022: Wouter
|
||||||
|
- Fix #779: [doc] Missing documention in ub_resolve_event() for
|
||||||
|
callback parameter was_ratelimited.
|
||||||
|
|
||||||
9 November 2022: George
|
9 November 2022: George
|
||||||
- Complementary fix for distutils.sysconfig deprecation in Python 3.10
|
- Complementary fix for distutils.sysconfig deprecation in Python 3.10
|
||||||
to commit 62c5039ab9da42713e006e840b7578e01d66e7f2.
|
to commit 62c5039ab9da42713e006e840b7578e01d66e7f2.
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@ int ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base);
|
||||||
* @param callback: this is called on completion of the resolution.
|
* @param callback: this is called on completion of the resolution.
|
||||||
* It is called as:
|
* It is called as:
|
||||||
* void callback(void* mydata, int rcode, void* packet, int packet_len,
|
* void callback(void* mydata, int rcode, void* packet, int packet_len,
|
||||||
* int sec, char* why_bogus)
|
* int sec, char* why_bogus, int was_ratelimited)
|
||||||
* with mydata: the same as passed here, you may pass NULL,
|
* with mydata: the same as passed here, you may pass NULL,
|
||||||
* with rcode: 0 on no error, nonzero for mostly SERVFAIL situations,
|
* with rcode: 0 on no error, nonzero for mostly SERVFAIL situations,
|
||||||
* this is a DNS rcode.
|
* this is a DNS rcode.
|
||||||
|
|
@ -241,6 +241,7 @@ int ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base);
|
||||||
* with packet_len: length in bytes of the packet buffer.
|
* with packet_len: length in bytes of the packet buffer.
|
||||||
* with sec: 0 if insecure, 1 if bogus, 2 if DNSSEC secure.
|
* with sec: 0 if insecure, 1 if bogus, 2 if DNSSEC secure.
|
||||||
* with why_bogus: text string explaining why it is bogus (or NULL).
|
* with why_bogus: text string explaining why it is bogus (or NULL).
|
||||||
|
* with was_ratelimited: if the query was ratelimited.
|
||||||
* These point to buffers inside unbound; do not deallocate the packet or
|
* These point to buffers inside unbound; do not deallocate the packet or
|
||||||
* error string.
|
* error string.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue