2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

gen to generate dns_rdata{type,class}_{type,class}

dns_rcode_{to,from}text()
	TKEY was missing the Algorithm
This commit is contained in:
Mark Andrews
1999-02-04 06:38:43 +00:00
parent f427e78509
commit 8d3e74b168
9 changed files with 303 additions and 77 deletions

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: gen.c,v 1.12 1999/02/02 22:34:20 marka Exp $ */
/* $Id: gen.c,v 1.13 1999/02/04 06:38:41 marka Exp $ */
#include <sys/types.h>
@@ -430,7 +430,7 @@ main(int argc, char **argv) {
lasttype = 0;
for (tt = types; tt != NULL ; tt = tt->next)
if (tt->type != lasttype)
fprintf(stdout, "\t ns_t_%s = %d,%s\n",
fprintf(stdout, "\t dns_rdatatype_%s = %d,%s\n",
funname(tt->typename, buf1),
lasttype = tt->type,
tt->next != NULL ? " \\" : "");
@@ -441,7 +441,7 @@ main(int argc, char **argv) {
classes != NULL ? " \\" : "");
for (cc = classes; cc != NULL; cc = cc->next)
fprintf(stdout, "\t ns_c_%s = %d,%s\n",
fprintf(stdout, "\t dns_rdataclass_%s = %d,%s\n",
funname(cc->classname, buf1),
cc->class,
cc->next != NULL ? " \\" : "");