mirror of https://github.com/getdnsapi/getdns.git
[API 0.395] rcodes, opcodes and classes defines
This commit is contained in:
parent
16b3c2ba31
commit
0b520c0f80
Binary file not shown.
Binary file not shown.
|
@ -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;
|
||||
|
|
|
@ -2428,7 +2428,7 @@ The response dicts inherit the custom memory management functions and the value
|
|||
|
||||
<h1>9. The Generated Files</h1>
|
||||
|
||||
<p>There is <a href="getdns-0.394.tgz">a tarball</a> that includes the .h files,
|
||||
<p>There is <a href="getdns-0.395.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
|
||||
|
|
Loading…
Reference in New Issue