[API 0.374] added GETDNS_RETURN_INVALID_PARAMETER

This commit is contained in:
Willem Toorop 2014-01-14 15:22:03 +01:00
parent aff0e3dc02
commit 2bf8709265
4 changed files with 6 additions and 2 deletions

Binary file not shown.

BIN
spec/getdns-0.374.tgz Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
/* Created at 2014-01-14-14-53-09*/ /* Created at 2014-01-14-15-20-05*/
#ifndef GETDNS_H #ifndef GETDNS_H
#define GETDNS_H #define GETDNS_H
@ -35,6 +35,8 @@
#define GETDNS_RETURN_DNSSEC_WITH_STUB_DISALLOWED_TEXT "A query was made with a context that is using stub resolution and a DNSSEC extension specified." #define GETDNS_RETURN_DNSSEC_WITH_STUB_DISALLOWED_TEXT "A query was made with a context that is using stub resolution and a DNSSEC extension specified."
#define GETDNS_RETURN_MEMORY_ERROR 310 #define GETDNS_RETURN_MEMORY_ERROR 310
#define GETDNS_RETURN_MEMORY_ERROR_TEXT "Unable to allocate the memory required." #define GETDNS_RETURN_MEMORY_ERROR_TEXT "Unable to allocate the memory required."
#define GETDNS_RETURN_INVALID_PARAMETER 311
#define GETDNS_RETURN_INVALID_PARAMETER_TEXT "A required parameter had an invalid value."
/* DNSSEC values */ /* DNSSEC values */
#define GETDNS_DNSSEC_SECURE 400 #define GETDNS_DNSSEC_SECURE 400

View File

@ -1109,6 +1109,8 @@ struct getdns_list;
<p class=descrip>A query was made with a context that is using stub resolution and a DNSSEC extension specified.</p> <p class=descrip>A query was made with a context that is using stub resolution and a DNSSEC extension specified.</p>
<p class=define>GETDNS_RETURN_MEMORY_ERROR</p> <p class=define>GETDNS_RETURN_MEMORY_ERROR</p>
<p class=descrip>Unable to allocate the memory required.</p> <p class=descrip>Unable to allocate the memory required.</p>
<p class=define>GETDNS_RETURN_INVALID_PARAMETER</p>
<p class=descrip>A required parameter had an invalid value.</p>
<h2>5.3 <a id="TypeList">Types of RDATA Returned in the API</a></h2> <h2>5.3 <a id="TypeList">Types of RDATA Returned in the API</a></h2>
@ -2208,7 +2210,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.373.tgz">a tarball</a> that includes the .h files, <p>There is <a href="getdns-0.374.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