[API 0.360] Fix range values for uint8_t

And fix forgotton bool -> int conversions
This commit is contained in:
Willem Toorop 2013-12-04 16:38:58 +01:00
parent d430ae2f00
commit 2c27392520
3 changed files with 5 additions and 5 deletions

View File

@ -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; }

View File

@ -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

View File

@ -2012,7 +2012,7 @@ getdns_context_set_edns_extended_rcode(
getdns_context_t context,
uint8_t value
);</div>
<p class=cont>The value is between 0 and 256; the default
<p class=cont>The value is between 0 and 255; the default
is <span class=default>0</span>.</p>
<div class=forh>
@ -2021,7 +2021,7 @@ getdns_context_set_edns_version(
getdns_context_t context,
uint8_t value
);</div>
<p class=cont>The value is between 0 and 256; the default
<p class=cont>The value is between 0 and 255; the default
is <span class=default>0</span>.</p>
<div class=forh>
@ -2106,7 +2106,7 @@ default is the <span class=default>realloc</span> function.</p>
<h1>9. The Generated Files</h1>
<p>There is <a href="getdns-0.359.tgz">a tarball</a> that includes the .h files,
<p>There is <a href="getdns-0.360.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
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