Home
last modified time | relevance | path

Searched refs:num_categories (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dlogging.c176 for (i = 0; i < lc->num_categories; i++) in log_close_debug_channels()
250 if (category < 0 || category > lc->num_categories) in log_check()
294 if (category < 0 || category > lc->num_categories) in log_vwrite()
439 log_new_context(int num_categories, char **category_names, log_context *lc) { in log_new_context() argument
447 nlc->num_categories = num_categories; in log_new_context()
449 nlc->categories = memget(num_categories * sizeof (log_channel_list)); in log_new_context()
456 num_categories * sizeof (log_channel_list)); in log_new_context()
471 for (i = 0; i < lc->num_categories; i++) in log_free_context()
479 lc->num_categories * sizeof (log_channel_list)); in log_free_context()
487 if (lc == NULL || category < 0 || category >= lc->num_categories) { in log_add_channel()
[all …]
H A Dlogging_p.h52 int num_categories; member