Commit e6bd97dd authored by Mark Andrews's avatar Mark Andrews
Browse files

Add 'flag' to rdata

parent fcf6c37b
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata.h,v 1.41 2000/09/06 03:25:23 marka Exp $ */
/* $Id: rdata.h,v 1.42 2000/10/19 05:50:54 marka Exp $ */
#ifndef DNS_RDATA_H
#define DNS_RDATA_H 1
......@@ -121,9 +121,12 @@ struct dns_rdata {
unsigned int length;
dns_rdataclass_t rdclass;
dns_rdatatype_t type;
unsigned int flags;
ISC_LINK(dns_rdata_t) link;
};
#define DNS_RDATA_UPDATE 0x0001 /* update pseudo record */
/*
* Flags affecting rdata formatting style. Flags 0xFFFF0000
* are used by masterfile-level formatting and defined elsewhere.
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata.c,v 1.109 2000/09/26 19:37:06 gson Exp $ */
/* $Id: rdata.c,v 1.110 2000/10/19 05:50:53 marka Exp $ */
#include <config.h>
#include <ctype.h>
......@@ -325,6 +325,7 @@ dns_rdata_init(dns_rdata_t *rdata) {
rdata->length = 0;
rdata->rdclass = 0;
rdata->type = 0;
rdata->flags = 0;
ISC_LINK_INIT(rdata, link);
/* ISC_LIST_INIT(rdata->list); */
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment