19
* $Id: res_update.h,v 1.1.206.1 2004/03/09 08:33:29 marka Exp $
19
* $Id: res_update.h,v 1.3 2005/04/27 04:56:15 sra Exp $
22
22
#ifndef __RES_UPDATE_H
23
23
#define __RES_UPDATE_H
25
27
#include <sys/types.h>
26
28
#include <arpa/nameser.h>
27
29
#include <isc/list.h>
28
30
#include <resolv.h>
31
33
* This RR-like structure is particular to UPDATE.
34
36
LINK(struct ns_updrec) r_link, r_glink;
35
ns_sect r_section; /* ZONE/PREREQUISITE/UPDATE */
36
char * r_dname; /* owner of the RR */
37
ns_class r_class; /* class number */
38
ns_type r_type; /* type number */
39
u_int32_t r_ttl; /* time to live */
40
u_char * r_data; /* rdata fields as text string */
41
u_int r_size; /* size of r_data field */
42
int r_opcode; /* type of operation */
37
ns_sect r_section; /*%< ZONE/PREREQUISITE/UPDATE */
38
char * r_dname; /*%< owner of the RR */
39
ns_class r_class; /*%< class number */
40
ns_type r_type; /*%< type number */
41
u_int32_t r_ttl; /*%< time to live */
42
u_char * r_data; /*%< rdata fields as text string */
43
u_int r_size; /*%< size of r_data field */
44
int r_opcode; /*%< type of operation */
43
45
/* following fields for private use by the resolver/server routines */
44
struct databuf *r_dp; /* databuf to process */
45
struct databuf *r_deldp; /* databuf's deleted/overwritten */
46
u_int r_zone; /* zone number on server */
46
struct databuf *r_dp; /*%< databuf to process */
47
struct databuf *r_deldp; /*%< databuf's deleted/overwritten */
48
u_int r_zone; /*%< zone number on server */
48
50
typedef struct ns_updrec ns_updrec;
49
51
typedef LIST(ns_updrec) ns_updque;