diff --git a/spec/getdns-0.394.tgz b/spec/getdns-0.394.tgz deleted file mode 100644 index b0e1151f..00000000 Binary files a/spec/getdns-0.394.tgz and /dev/null differ diff --git a/spec/getdns-0.395.tgz b/spec/getdns-0.395.tgz new file mode 100644 index 00000000..36e500aa Binary files /dev/null and b/spec/getdns-0.395.tgz differ diff --git a/spec/getdns_core_only.h b/spec/getdns_core_only.h index 58d65f18..fc73f935 100644 --- a/spec/getdns_core_only.h +++ b/spec/getdns_core_only.h @@ -1,4 +1,4 @@ -/* Created at 2014-02-18-14-06-50*/ +/* Created at 2014-02-18-14-12-28*/ #ifndef GETDNS_H #define GETDNS_H @@ -197,6 +197,7 @@ typedef enum getdns_callback_type_t { #define GETDNS_BAD_DNS_CNAME_RETURNED_FOR_OTHER_TYPE 1102 #define GETDNS_BAD_DNS_CNAME_RETURNED_FOR_OTHER_TYPE_TEXT "A DNS query for a type other than CNAME returned a CNAME response" + /* Defines for RRtypes (from 2014-02) */ #define GETDNS_RRTYPE_A 1 #define GETDNS_RRTYPE_NS 2 @@ -277,6 +278,33 @@ typedef enum getdns_callback_type_t { #define GETDNS_RRTYPE_TA 32768 #define GETDNS_RRTYPE_DLV 32769 +/* Defines for RRclasses (from 2014-02) */ +#define GETDNS_RR_CLASS_IN 1 +#define GETDNS_RR_CLASS_CH 3 +#define GETDNS_RR_CLASS_HS 4 +#define GETDNS_RR_CLASS_NONE 254 +#define GETDNS_RR_CLASS_ANY 255 + +/* Defines for Opcodes (from 2014-02) */ +#define GETDNS_OPCODE_QUERY 0 +#define GETDNS_OPCODE_IQUERY 1 +#define GETDNS_OPCODE_STATUS 2 +#define GETDNS_OPCODE_NOTIFY 4 +#define GETDNS_OPCODE_UPDATE 5 + +/* Defines for Rcodes (from 2014-02) */ +#define GETDNS_RCODE_NOERROR 0 +#define GETDNS_RCODE_FORMERR 1 +#define GETDNS_RCODE_SERVFAIL 2 +#define GETDNS_RCODE_NXDOMAIN 3 +#define GETDNS_RCODE_NOTIMPL 4 +#define GETDNS_RCODE_REFUSED 5 +#define GETDNS_RCODE_YXDOMAIN 6 +#define GETDNS_RCODE_YXRRSET 7 +#define GETDNS_RCODE_NXRRSET 8 +#define GETDNS_RCODE_NOTAUTH 9 +#define GETDNS_RCODE_NOTZONE 10 + /* Various typedefs */ struct getdns_context; typedef uint64_t getdns_transaction_t; diff --git a/spec/index.html b/spec/index.html index 3ee379b5..dba24195 100644 --- a/spec/index.html +++ b/spec/index.html @@ -2428,7 +2428,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