From f8b167ffb9d1bfb2391015fa3e9f4acc9bf12cba Mon Sep 17 00:00:00 2001 From: James Brister Date: Thu, 2 Mar 2000 04:00:00 +0000 Subject: [PATCH] SUe strgings instead of dns_c_category_t. Removed dns_c_logginglist_catbytype(). --- lib/dns/include/dns/conflog.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/dns/include/dns/conflog.h b/lib/dns/include/dns/conflog.h index b1910d83ae..bd7c0da59c 100644 --- a/lib/dns/include/dns/conflog.h +++ b/lib/dns/include/dns/conflog.h @@ -134,7 +134,7 @@ struct dns_c_logcat isc_uint32_t magic; isc_mem_t *mem; - dns_c_category_t category; + char *catname; char **channel_names; size_t cnames_len; /* size, in elements of @@ -180,10 +180,6 @@ isc_result_t dns_c_logginglist_chanbyname(dns_c_logginglist_t *list, isc_result_t dns_c_logginglist_catbyname(dns_c_logginglist_t *list, const char *name, dns_c_logcat_t **cat); -isc_result_t dns_c_logginglist_catbytype(dns_c_logginglist_t *list, - dns_c_category_t cattype, - dns_c_logcat_t **cat); - isc_result_t dns_c_logchan_new(isc_mem_t *mem, const char *name, dns_c_logchantype_t ctype, @@ -243,7 +239,7 @@ isc_result_t dns_c_logchan_getpredef(dns_c_logchan_t *channel, /* * Logging category */ -isc_result_t dns_c_logcat_new(isc_mem_t *mem, dns_c_category_t cat, +isc_result_t dns_c_logcat_new(isc_mem_t *mem, const char *name, dns_c_logcat_t **newlc); isc_result_t dns_c_logcat_delete(dns_c_logcat_t **logcat); void dns_c_logcat_print(FILE *fp, int indent,