mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Add structure definitions so they can be documented.
Support functions to follow soon.
This commit is contained in:
parent
df5503799f
commit
b186f1ab91
@ -15,11 +15,13 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: afsdb_18.h,v 1.10 2000/03/16 00:52:59 explorer Exp $ */
|
||||
/* $Id: afsdb_18.h,v 1.11 2000/04/28 21:48:37 marka Exp $ */
|
||||
|
||||
/* RFC 1183 */
|
||||
|
||||
typedef struct dns_rdata_afsdb {
|
||||
dns_rdatacommon_t common;
|
||||
/*XXX*/
|
||||
isc_mem_t *mctx;
|
||||
isc_uint16_t subtype;
|
||||
dns_name_t server;
|
||||
} dns_rdata_afsdb_t;
|
||||
|
@ -15,7 +15,16 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: cert_37.h,v 1.10 2000/03/20 22:48:58 gson Exp $ */
|
||||
/* $Id: cert_37.h,v 1.11 2000/04/28 21:48:38 marka Exp $ */
|
||||
|
||||
/* draft-ietf-dnssec-certs-04.txt */
|
||||
/* RFC 2538 */
|
||||
|
||||
typedef struct dns_rdata_cert {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
isc_uint16_t type;
|
||||
isc_uint16_t key_tag;
|
||||
isc_uint8_t algorithm;
|
||||
isc_uint16_t length;
|
||||
unsigned char *certificate;
|
||||
} dns_rdata_cert_t;
|
||||
|
@ -15,7 +15,17 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: gpos_27.h,v 1.7 2000/03/20 22:57:11 gson Exp $ */
|
||||
/* $Id: gpos_27.h,v 1.8 2000/04/28 21:48:39 marka Exp $ */
|
||||
|
||||
/* RFC 1712 */
|
||||
|
||||
typedef struct dns_rdata_gpos {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
char *longitude;
|
||||
char *latitude;
|
||||
char *altitude;
|
||||
isc_uint8_t long_len;
|
||||
isc_uint8_t lat_len;
|
||||
isc_uint8_t alt_len;
|
||||
} dns_rdata_gpos_t;
|
||||
|
@ -15,5 +15,13 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: hinfo_13.h,v 1.15 2000/03/20 22:57:12 gson Exp $ */
|
||||
/* $Id: hinfo_13.h,v 1.16 2000/04/28 21:48:40 marka Exp $ */
|
||||
|
||||
typedef struct dns_rdata_hinfo {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
char *cpu;
|
||||
char *os;
|
||||
isc_int8_t cpu_len;
|
||||
isc_int8_t os_len;
|
||||
} dns_rdata_hinfo_t;
|
||||
|
@ -15,7 +15,15 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: isdn_20.h,v 1.7 2000/03/20 22:57:12 gson Exp $ */
|
||||
/* $Id: isdn_20.h,v 1.8 2000/04/28 21:48:41 marka Exp $ */
|
||||
|
||||
/* RFC 1183 */
|
||||
|
||||
typedef struct dns_rdata_isdn {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
char *isdn;
|
||||
char *sa;
|
||||
isc_int8_t isdn_len;
|
||||
isc_int8_t sa_len;
|
||||
} dns_rdata_isdn_t;
|
||||
|
@ -15,7 +15,12 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: loc_29.h,v 1.7 2000/03/16 02:18:16 explorer Exp $ */
|
||||
/* $Id: loc_29.h,v 1.8 2000/04/28 21:48:43 marka Exp $ */
|
||||
|
||||
/* RFC 1876 */
|
||||
|
||||
typedef struct dns_rdata_loc {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
dns_name_t loc;
|
||||
} dns_rdata_loc_t;
|
||||
|
@ -15,5 +15,13 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: md_3.h,v 1.16 2000/03/20 22:57:12 gson Exp $ */
|
||||
/* $Id: md_3.h,v 1.17 2000/04/28 21:48:44 marka Exp $ */
|
||||
|
||||
#include <dns/name.h>
|
||||
|
||||
typedef struct dns_rdata_md {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
dns_name_t md;
|
||||
} dns_rdata_md_t;
|
||||
|
||||
|
@ -15,5 +15,12 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: mf_4.h,v 1.14 2000/03/20 22:57:12 gson Exp $ */
|
||||
/* $Id: mf_4.h,v 1.15 2000/04/28 21:48:45 marka Exp $ */
|
||||
|
||||
#include <dns/name.h>
|
||||
|
||||
typedef struct dns_rdata_mf {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
dns_name_t mf;
|
||||
} dns_rdata_mf_t;
|
||||
|
@ -15,5 +15,12 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: mg_8.h,v 1.14 2000/03/20 22:57:13 gson Exp $ */
|
||||
/* $Id: mg_8.h,v 1.15 2000/04/28 21:48:46 marka Exp $ */
|
||||
|
||||
#include <dns/name.h>
|
||||
|
||||
typedef struct dns_rdata_mg {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
dns_name_t mg;
|
||||
} dns_rdata_mg_t;
|
||||
|
@ -15,5 +15,13 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: minfo_14.h,v 1.15 2000/03/20 22:57:13 gson Exp $ */
|
||||
/* $Id: minfo_14.h,v 1.16 2000/04/28 21:48:47 marka Exp $ */
|
||||
|
||||
#include <dns/name.h>
|
||||
|
||||
typedef struct dns_rdata_minfo {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
dns_name_t rmailbox;
|
||||
dns_name_t emailbox;
|
||||
} dns_rdata_minfo_t;
|
||||
|
@ -15,5 +15,12 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: mr_9.h,v 1.14 2000/03/20 22:57:13 gson Exp $ */
|
||||
/* $Id: mr_9.h,v 1.15 2000/04/28 21:48:48 marka Exp $ */
|
||||
|
||||
#include <dns/name.h>
|
||||
|
||||
typedef struct dns_rdata_mr {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
dns_name_t mr;
|
||||
} dns_rdata_mr_t;
|
||||
|
@ -15,5 +15,13 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: mx_15.h,v 1.17 2000/03/20 22:57:13 gson Exp $ */
|
||||
/* $Id: mx_15.h,v 1.18 2000/04/28 21:48:49 marka Exp $ */
|
||||
|
||||
#include <dns/name.h>
|
||||
|
||||
typedef struct dns_rdata_mx {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
isc_uint16_t pref;
|
||||
dns_name_t mx;
|
||||
} dns_rdata_mx_t;
|
||||
|
@ -15,4 +15,12 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: null_10.h,v 1.13 2000/03/20 22:57:13 gson Exp $ */
|
||||
/* $Id: null_10.h,v 1.14 2000/04/28 21:48:51 marka Exp $ */
|
||||
|
||||
typedef struct dns_rdata_null {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
isc_int16_t length;
|
||||
unsigned char *data;
|
||||
} dns_rdata_null_t;
|
||||
|
||||
|
@ -15,11 +15,13 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nxt_30.h,v 1.12 2000/03/20 22:57:14 gson Exp $ */
|
||||
/* $Id: nxt_30.h,v 1.13 2000/04/28 21:48:52 marka Exp $ */
|
||||
|
||||
/* RFC 2065 */
|
||||
|
||||
typedef struct dns_rdata_nxt {
|
||||
dns_rdatacommon_t common;
|
||||
/*XXX*/
|
||||
isc_mem_t *mctx;
|
||||
isc_uint16_t len;
|
||||
unsigned char *nxt;
|
||||
} dns_rdata_nxt_t;
|
||||
|
@ -15,12 +15,31 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: opt_41.h,v 1.4 2000/03/16 22:42:31 gson Exp $ */
|
||||
/* $Id: opt_41.h,v 1.5 2000/04/28 21:48:53 marka Exp $ */
|
||||
|
||||
/* RFC 2671 */
|
||||
|
||||
typedef struct dns_rdata_opt_opcode {
|
||||
isc_uint16_t opcode;
|
||||
isc_uint16_t length;
|
||||
unsigned char *data;
|
||||
} dns_rdata_opt_opcode_t;
|
||||
|
||||
typedef struct dns_rdata_opt {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx; /* if required */
|
||||
/* XXXRTH Not implemented. */
|
||||
isc_mem_t *mctx;
|
||||
unsigned char *options;
|
||||
isc_uint16_t length;
|
||||
/* private */
|
||||
isc_uint16_t offset;
|
||||
} dns_rdata_opt_t;
|
||||
|
||||
#include <isc/lang.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
isc_result_t dns_rdata_opt_first(dns_rdata_opt_t *);
|
||||
isc_result_t dns_rdata_opt_next(dns_rdata_opt_t *);
|
||||
isc_result_t dns_rdata_opt_current(dns_rdata_opt_t *, dns_rdata_opt_opcode_t *);
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
@ -15,5 +15,13 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ptr_12.h,v 1.15 2000/03/20 22:57:14 gson Exp $ */
|
||||
/* $Id: ptr_12.h,v 1.16 2000/04/28 21:48:55 marka Exp $ */
|
||||
|
||||
|
||||
#include <dns/name.h>
|
||||
|
||||
typedef struct dns_rdata_ptr {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
dns_name_t ptr;
|
||||
} dns_rdata_ptr_t;
|
||||
|
@ -15,7 +15,16 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rp_17.h,v 1.10 2000/03/20 22:57:14 gson Exp $ */
|
||||
/* $Id: rp_17.h,v 1.11 2000/04/28 21:48:56 marka Exp $ */
|
||||
|
||||
/* RFC 1183 */
|
||||
|
||||
#include <dns/name.h>
|
||||
|
||||
typedef struct dns_rdata_rp {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
dns_name_t mail;
|
||||
dns_name_t text;
|
||||
} dns_rdata_rp_t;
|
||||
|
||||
|
@ -15,7 +15,15 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rt_21.h,v 1.10 2000/03/20 22:57:14 gson Exp $ */
|
||||
/* $Id: rt_21.h,v 1.11 2000/04/28 21:48:57 marka Exp $ */
|
||||
|
||||
/* RFC 1183 */
|
||||
|
||||
#include <dns/name.h>
|
||||
|
||||
typedef struct dns_rdata_rt {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
isc_uint16_t preference;
|
||||
dns_name_t host;
|
||||
} dns_rdata_rt_t;
|
||||
|
@ -15,5 +15,11 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: unspec_103.h,v 1.6 2000/02/03 23:43:09 halley Exp $ */
|
||||
/* $Id: unspec_103.h,v 1.7 2000/04/28 21:48:58 marka Exp $ */
|
||||
|
||||
typedef struct dns_rdata_unspec_t {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
unsigned char *data;
|
||||
isc_uint16_t datalen;
|
||||
} dns_rdata_unspec_t;
|
||||
|
@ -15,7 +15,13 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: x25_19.h,v 1.7 2000/03/20 22:57:14 gson Exp $ */
|
||||
/* $Id: x25_19.h,v 1.8 2000/04/28 21:48:59 marka Exp $ */
|
||||
|
||||
/* RFC 1183 */
|
||||
|
||||
typedef struct dns_rdata_x25 {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
unsigned char *x25;
|
||||
isc_uint16_t x25_len;
|
||||
} dns_rdata_x25_t;
|
||||
|
@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: naptr_35.h,v 1.11 2000/03/20 22:57:15 gson Exp $ */
|
||||
/* $Id: naptr_35.h,v 1.12 2000/04/28 21:49:01 marka Exp $ */
|
||||
|
||||
/* RFC 2168 */
|
||||
|
||||
@ -25,7 +25,10 @@ typedef struct dns_rdata_in_naptr {
|
||||
isc_uint16_t order;
|
||||
isc_uint16_t preference;
|
||||
char *flags;
|
||||
isc_uint16_t flags_len;
|
||||
char *service;
|
||||
isc_uint16_t service_len;
|
||||
char *regexp;
|
||||
isc_uint16_t regexp_len;
|
||||
dns_name_t replacement;
|
||||
} dns_rdata_in_naptr_t;
|
||||
|
@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nsap_22.h,v 1.8 2000/03/17 19:35:25 gson Exp $ */
|
||||
/* $Id: nsap_22.h,v 1.9 2000/04/28 21:49:02 marka Exp $ */
|
||||
|
||||
/* RFC 1706 */
|
||||
|
||||
@ -23,5 +23,5 @@ typedef struct dns_rdata_in_nsap {
|
||||
dns_rdatacommon_t common;
|
||||
isc_mem_t *mctx;
|
||||
unsigned char *nsap;
|
||||
isc_uint16_t length;
|
||||
isc_uint16_t nsap_len;
|
||||
} dns_rdata_in_nsap_t;
|
||||
|
@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: wks_11.h,v 1.14 2000/03/20 22:57:15 gson Exp $ */
|
||||
/* $Id: wks_11.h,v 1.15 2000/04/28 21:49:03 marka Exp $ */
|
||||
|
||||
typedef struct dns_rdata_in_wks {
|
||||
dns_rdatacommon_t common;
|
||||
@ -23,5 +23,5 @@ typedef struct dns_rdata_in_wks {
|
||||
struct in_addr in_addr;
|
||||
isc_uint16_t protocol;
|
||||
unsigned char *map;
|
||||
isc_uint16_t length;
|
||||
isc_uint16_t map_len;
|
||||
} dns_rdata_in_wks_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user