2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00:00

priority rendering

This commit is contained in:
Michael Graff
1999-12-22 03:22:59 +00:00
parent 491319c34c
commit 733b16eb0b
12 changed files with 153 additions and 115 deletions

View File

@@ -138,6 +138,11 @@ typedef int dns_section_t;
#define DNS_MESSAGE_INTENTPARSE 1 /* parsing messages */
#define DNS_MESSAGE_INTENTRENDER 2 /* rendering */
/*
* Control behavior of rendering
*/
#define DNS_MESSAGERENDER_ORDERED 0x0001 /* don't change order */
typedef struct dns_msgblock dns_msgblock_t;
struct dns_message {
@@ -394,7 +399,7 @@ dns_message_renderrelease(dns_message_t *msg, unsigned int space);
dns_result_t
dns_message_rendersection(dns_message_t *msg, dns_section_t section,
unsigned int priority, unsigned int options);
unsigned int options);
/*
* Render all names, rdatalists, etc from the given section at the
* specified priority or higher.