Lines Matching refs:result
15 #include <isc/result.h>
64 isc_result_t result;
73 result = isc_log_create(ns_g_mctx, &ns_g_lctx, &lcfg);
74 if (result != ISC_R_SUCCESS)
75 return (result);
88 result = ns_log_setsafechannels(lcfg);
90 result = ns_log_setdefaultchannels(lcfg);
91 if (result != ISC_R_SUCCESS)
94 result = ns_log_setdefaultcategory(lcfg);
95 if (result != ISC_R_SUCCESS)
105 return (result);
110 isc_result_t result;
123 result = isc_log_createchannel(lcfg, "default_debug",
129 if (result != ISC_R_SUCCESS)
138 result = isc_log_createchannel(lcfg, "default_logfile",
145 if (result != ISC_R_SUCCESS)
151 result = isc_log_createchannel(lcfg, "default_syslog",
154 if (result != ISC_R_SUCCESS)
163 result = ISC_R_SUCCESS;
166 return (result);
171 isc_result_t result;
175 result = isc_log_createchannel(lcfg, "default_debug",
179 if (result != ISC_R_SUCCESS)
196 result = isc_log_createchannel(lcfg, "default_logfile",
203 if (result != ISC_R_SUCCESS)
209 result = isc_log_createchannel(lcfg, "default_syslog",
212 if (result != ISC_R_SUCCESS)
216 result = ISC_R_SUCCESS;
219 return (result);
224 isc_result_t result = ISC_R_SUCCESS;
226 result = isc_log_usechannel(lcfg, "default_debug",
228 if (result != ISC_R_SUCCESS)
233 result = isc_log_usechannel(lcfg, "default_logfile",
237 result = isc_log_usechannel(lcfg, "default_syslog",
243 return (result);
248 isc_result_t result;
250 result = isc_log_usechannel(lcfg, "null",
252 return (result);