Merge pull request #45 from paulehoffman/master

Timed-out responses getting dicts in response
This commit is contained in:
wtoorop 2014-06-10 20:50:10 +02:00
commit 37385a974f
1 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ tr.code { font-family: monospace }
<p class=title>Description of the <code>getdns</code> API</p> <p class=title>Description of the <code>getdns</code> API</p>
<p class=title2>Paul Hoffman, Editor</p> <p class=title2>Paul Hoffman, Editor</p>
<p class=title2>Document version: "getdns February 2014"</p> <p class=title2>Document version: "getdns June 2014"</p>
<p>This document describes a modern asynchronous DNS API. This new API is intended to be useful to <p>This document describes a modern asynchronous DNS API. This new API is intended to be useful to
application developers and operating system distributors as a way of making application developers and operating system distributors as a way of making
@ -305,7 +305,7 @@ The application is responsible for cleaning up the response object with getdns_d
<p class=define>GETDNS_CALLBACK_CANCEL</p> <p class=define>GETDNS_CALLBACK_CANCEL</p>
<p class=descrip>The calling program cancelled the callback; response is NULL</p> <p class=descrip>The calling program cancelled the callback; response is NULL</p>
<p class=define>GETDNS_CALLBACK_TIMEOUT</p> <p class=define>GETDNS_CALLBACK_TIMEOUT</p>
<p class=descrip>The requested action timed out; response is NULL</p> <p class=descrip>The requested action timed out; response is filled in with empty structures</p>
<p class=define>GETDNS_CALLBACK_ERROR</p> <p class=define>GETDNS_CALLBACK_ERROR</p>
<p class=descrip>The requested action had an error; response is NULL</p> <p class=descrip>The requested action had an error; response is NULL</p>
@ -442,7 +442,7 @@ at its leisure.</p>
<h2>1.9 Calling the API Synchronously (Without Events)</h2> <h2>1.9 Calling the API Synchronously (Without Events)</h2>
<p>Thare are functions parallel to the four <code>getdns</code> async functions, <p>There are functions parallel to the four <code>getdns</code> async functions,
except that there is no callback. That is, when an application calls one of these except that there is no callback. That is, when an application calls one of these
synchronous functions, the synchronous functions, the
API gathers all the required information and then returns the result. The value returned is exactly the API gathers all the required information and then returns the result. The value returned is exactly the