Lines Matching refs:result
24 #include <isc/result.h>
72 isc_result_t result;
81 result = isc_log_create(ns_g_mctx, &ns_g_lctx, &lcfg);
82 if (result != ISC_R_SUCCESS)
83 return (result);
96 result = ns_log_setsafechannels(lcfg);
98 result = ns_log_setdefaultchannels(lcfg);
99 if (result != ISC_R_SUCCESS)
102 result = ns_log_setdefaultcategory(lcfg);
103 if (result != ISC_R_SUCCESS)
113 return (result);
118 isc_result_t result;
131 result = isc_log_createchannel(lcfg, "default_debug",
137 if (result != ISC_R_SUCCESS)
143 result = isc_log_createchannel(lcfg, "default_syslog",
146 if (result != ISC_R_SUCCESS)
155 result = ISC_R_SUCCESS;
158 return (result);
163 isc_result_t result;
169 result = isc_log_createchannel(lcfg, "default_debug",
173 if (result != ISC_R_SUCCESS)
187 result = isc_log_createchannel(lcfg, "default_syslog",
190 if (result != ISC_R_SUCCESS)
194 result = ISC_R_SUCCESS;
197 return (result);
202 isc_result_t result;
205 result = isc_log_usechannel(lcfg, "default_syslog",
207 if (result != ISC_R_SUCCESS)
211 result = isc_log_usechannel(lcfg, "default_debug",
213 if (result != ISC_R_SUCCESS)
216 result = ISC_R_SUCCESS;
219 return (result);
224 isc_result_t result;
226 result = isc_log_usechannel(lcfg, "null",
228 return (result);