txt_16.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 1998-2002, 2004, 2007-2009, 2012, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* Reviewed: Thu Mar 16 15:40:00 PST 2000 by bwelling */
#ifndef RDATA_GENERIC_TXT_16_C
#define RDATA_GENERIC_TXT_16_C
#define RRTYPE_TXT_ATTRIBUTES (0)
static inline isc_result_t
int strings;
strings = 0;
if ((options & DNS_RDATA_UNKNOWNESCAPE) != 0) {
r.length = 1;
strings++;
}
for (;;) {
ISC_TRUE));
break;
strings++;
}
}
static inline isc_result_t
}
return (ISC_R_SUCCESS);
}
static inline isc_result_t
do {
if (result != ISC_R_SUCCESS)
return (result);
} while (!buffer_empty(source));
return (ISC_R_SUCCESS);
}
static inline isc_result_t
}
static inline isc_result_t
}
static inline isc_result_t
target));
}
static inline isc_result_t
}
static inline int
}
static inline isc_result_t
return (ISC_R_UNEXPECTEDEND);
}
}
static inline isc_result_t
isc_region_t r;
dns_rdata_toregion(rdata, &r);
return (ISC_R_NOMEMORY);
return (ISC_R_SUCCESS);
}
static inline void
return;
}
static inline isc_result_t
}
static inline isc_result_t
}
static inline void
}
static inline isc_result_t
return (ISC_R_SUCCESS);
}
static inline isc_result_t
isc_region_t r;
dns_rdata_toregion(rdata, &r);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static inline isc_result_t
}
static isc_result_t
return (ISC_R_NOMORE);
return (ISC_R_SUCCESS);
}
static isc_result_t
isc_region_t r;
length = uint8_fromregion(&r);
return (ISC_R_NOMORE);
return (ISC_R_SUCCESS);
}
static isc_result_t
isc_region_t r;
isc_region_consume(&r, 1);
return (ISC_R_SUCCESS);
}
return (generic_txt_first(txt));
}
return (generic_txt_next(txt));
}
}
#endif /* RDATA_GENERIC_TXT_16_C */