From 2c27392520ae42ab249c49670c73f4c2af87145a Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Wed, 4 Dec 2013 16:38:58 +0100 Subject: [PATCH] [API 0.360] Fix range values for uint8_t And fix forgotton bool -> int conversions --- spec/getdns_core_only.c | 2 +- spec/getdns_core_only.h | 2 +- spec/index.html | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/getdns_core_only.c b/spec/getdns_core_only.c index 5a584fc9..68087842 100644 --- a/spec/getdns_core_only.c +++ b/spec/getdns_core_only.c @@ -59,7 +59,7 @@ UNUSED_PARAM(transaction_id); UNUSED_PARAM(callback); return GETDNS_RETURN_GOOD; getdns_return_t getdns_context_create( getdns_context_t *context, - bool set_from_os + int set_from_os ) { UNUSED_PARAM(context); UNUSED_PARAM(set_from_os); return GETDNS_RETURN_GOOD; } diff --git a/spec/getdns_core_only.h b/spec/getdns_core_only.h index 34494792..bc2414b4 100644 --- a/spec/getdns_core_only.h +++ b/spec/getdns_core_only.h @@ -1,4 +1,4 @@ -/* Created at 2013-12-04-16-37-06*/ +/* Created at 2013-12-04-16-38-12*/ #ifndef GETDNS_H #define GETDNS_H diff --git a/spec/index.html b/spec/index.html index 646f6941..82976cbc 100644 --- a/spec/index.html +++ b/spec/index.html @@ -2012,7 +2012,7 @@ getdns_context_set_edns_extended_rcode( getdns_context_t context, uint8_t value ); -

The value is between 0 and 256; the default +

The value is between 0 and 255; the default is 0.

@@ -2021,7 +2021,7 @@ getdns_context_set_edns_version( getdns_context_t context, uint8_t value );
-

The value is between 0 and 256; the default +

The value is between 0 and 255; the default is 0.

@@ -2106,7 +2106,7 @@ default is the realloc function.

9. The Generated Files

-

There is a tarball that includes the .h files, +

There is a tarball that includes the .h files, 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 the Macintosh and Ubuntu; help is definitely appreciated on making the build process