[API 0.393] Document howto unset context update cb

This commit is contained in:
Willem Toorop 2014-02-10 09:58:25 +01:00
parent b19a536453
commit 0a4746c92b
4 changed files with 3 additions and 2 deletions

Binary file not shown.

BIN
spec/getdns-0.393.tgz Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
/* Created at 2014-02-09-21-29-17*/ /* Created at 2014-02-10-09-56-03*/
#ifndef GETDNS_H #ifndef GETDNS_H
#define GETDNS_H #define GETDNS_H

View File

@ -2132,6 +2132,7 @@ changes from the API (such as changes to /etc/resolv.conf), or might be from any
API functions in this section being called. The second argument to the callback function API functions in this section being called. The second argument to the callback function
specifies which of the context changed; the context codes are listed specifies which of the context changed; the context codes are listed
<a href="#ContextCodes">later in this document</a>.</p> <a href="#ContextCodes">later in this document</a>.</p>
<p class=cont>Calling getdns_context_set_context_update_callback with a second argument of NULL prevents updates to the context from causing callbacks.</p>
<h2>8.3 Contexts for Basic Resolution</h2> <h2>8.3 Contexts for Basic Resolution</h2>
@ -2425,7 +2426,7 @@ The response dicts inherit the custom memory management functions and the value
<h1>9. The Generated Files</h1> <h1>9. The Generated Files</h1>
<p>There is <a href="getdns-0.392.tgz">a tarball</a> that includes the .h files, <p>There is <a href="getdns-0.393.tgz">a tarball</a> that includes the .h files,
the examples, and so on. The examples all make, even though there is no API implementation, based the examples, and so on. The examples all make, even though there is no API implementation, based
on a pseudo-implementation in the tarball; see make-examples-PLATFORM.sh. Note that this currently builds fine on a pseudo-implementation in the tarball; see make-examples-PLATFORM.sh. Note that this currently builds fine
on the Macintosh and Ubuntu; help is definitely appreciated on making the build process on the Macintosh and Ubuntu; help is definitely appreciated on making the build process