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

dns_rdata_compare checked for RFC 1035 types

converted frometext* to use gettoken()
	converted:
		result = foo();
		if (result != DNS_R_SUCCESS)
			return (result);
	to
		RETERR(foo());
This commit is contained in:
Mark Andrews
1999-01-22 00:36:59 +00:00
parent 530570705a
commit deaaf94332
32 changed files with 264 additions and 805 deletions

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: rdata.c,v 1.8 1999/01/21 06:02:13 marka Exp $ */
/* $Id: rdata.c,v 1.9 1999/01/22 00:36:54 marka Exp $ */
#include <isc/buffer.h>
#include <isc/lex.h>
@@ -28,6 +28,12 @@
#include <stdio.h>
#include <isc/assertions.h>
#define RETERR(x) { \
dns_result_t __r = (x); \
if (__r != DNS_R_SUCCESS) \
return (__r); \
}
static dns_result_t txt_totext(isc_region_t *source, isc_buffer_t *target);
static dns_result_t txt_fromtext(isc_textregion_t *source,
isc_buffer_t *target);