static void idn_locale_to_ace(const char *src, char *dst, size_t dstlen);
static void idn_ace_to_locale(const char *src, char **dst);
static isc_result_t idn_output_filter(isc_buffer_t *buffer,
- unsigned int used_org,
- isc_boolean_t absolute);
+ unsigned int used_org);
#endif /* HAVE_LIBIDN2 */
isc_socket_t *keep = NULL;
#ifdef HAVE_LIBIDN2
static isc_result_t
-idn_output_filter(isc_buffer_t *buffer, unsigned int used_org,
- isc_boolean_t absolute)
-{
+idn_output_filter(isc_buffer_t *buffer, unsigned int used_org) {
char src[MXNAME], *dst;
size_t srclen, dstlen;
- UNUSED(absolute);
-
/*
* Copy name from 'buffer' to 'src' and terminate it with NULL.
*/
* is from 'buffer'->base + 'used_org' to the end of the used region.
*/
typedef isc_result_t (*dns_name_totextfilter_t)(isc_buffer_t *target,
- unsigned int used_org,
- isc_boolean_t absolute);
+ unsigned int used_org);
/***
*** Initialization
totext_filter_proc = *mem;
#endif
if (totext_filter_proc != NULL)
- return ((*totext_filter_proc)(target, oused, saw_root));
+ return ((*totext_filter_proc)(target, oused));
return (ISC_R_SUCCESS);
}