diff --git a/spec/getdns-0.401.tgz b/spec/getdns-0.401.tgz deleted file mode 100644 index 05e31ed4..00000000 Binary files a/spec/getdns-0.401.tgz and /dev/null differ diff --git a/spec/getdns-0.402.tgz b/spec/getdns-0.402.tgz new file mode 100644 index 00000000..74efce8d Binary files /dev/null and b/spec/getdns-0.402.tgz differ diff --git a/spec/index.html b/spec/index.html index 5011c552..6fd93f74 100644 --- a/spec/index.html +++ b/spec/index.html @@ -1485,7 +1485,7 @@ function.

/* Set up the callback function, which will also do the processing of the results */ void this_callbackfn(getdns_context *this_context, - getdns_callback_type_t this_callback_type, + getdns_callback_type_t this_callback_type, getdns_dict *this_response, void *this_userarg, getdns_transaction_t this_transaction_id) @@ -1603,7 +1603,7 @@ their TTLs.

/* Set up the callback function, which will also do the processing of the results */ void this_callbackfn(getdns_context *this_context, - getdns_callback_type_t this_callback_type, + getdns_callback_type_t this_callback_type, getdns_dict *this_response, void *this_userarg, getdns_transaction_t this_transaction_id) @@ -1884,7 +1884,7 @@ as it is for the synchronous example, it is just done in main().

/* Set up the callback function, which will also do the processing of the results */ void this_callbackfn(getdns_context *this_context, - uint16_t this_callback_type, + getdns_callback_type_t this_callback_type, getdns_dict *this_response, void *this_userarg, getdns_transaction_t this_transaction_id) @@ -1933,10 +1933,8 @@ as it is for the synchronous example, it is just done in main().

getdns_bindata * this_dname; this_ret = getdns_dict_get_bindata(this_rdata, "rdata_raw", &this_dname); - char *this_dname_str = getdns_convert_dns_name_to_fqdn((char *)this_dname->data); - printf("The dname is %s\n", this_dname_str); - free(this_dname_str); - + char *this_dname_str; + this_ret = getdns_convert_dns_name_to_fqdn(this_dname, &this_dname_str); // Ignore any error } } @@ -2443,7 +2441,7 @@ The response dicts inherit the custom memory management functions and the value

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