Lines Matching refs:result
24 #include <dns/result.h>
28 #include <isccc/result.h>
41 isc_result_t result;
46 result = isc_lex_gettoken(lex, ISC_LEXOPT_EOF, &token);
47 if (result != ISC_R_SUCCESS)
48 return (result);
76 isc_result_t result;
92 result = isccc_cc_lookupstring(data, "type", &cmdline);
93 if (result != ISC_R_SUCCESS) {
97 return (result);
100 result = isc_lex_create(ns_g_mctx, strlen(cmdline), &lex);
101 if (result != ISC_R_SUCCESS)
102 return (result);
106 result = isc_lex_openbuffer(lex, &src);
107 if (result != ISC_R_SUCCESS)
110 result = getcommand(lex, &command);
111 if (result != ISC_R_SUCCESS)
142 result = ISC_R_FAILURE;
152 result = ns_server_reloadcommand(ns_g_server, lex, text);
154 result = ns_server_reconfigcommand(ns_g_server);
156 result = ns_server_refreshcommand(ns_g_server, lex, text);
158 result = ns_server_retransfercommand(ns_g_server,
168 result = ns_smf_add_message(text);
187 result = ISC_R_SUCCESS;
195 result = ns_smf_add_message(text);
204 result = ISC_R_SUCCESS;
206 result = ns_server_dumpstats(ns_g_server);
208 result = ns_server_togglequerylog(ns_g_server, lex);
211 result = ISC_R_SUCCESS;
213 result = ns_server_dumpsecroots(ns_g_server, lex, text);
215 result = ns_server_setdebuglevel(ns_g_server, lex);
219 result = ISC_R_SUCCESS;
221 result = ns_server_flushcache(ns_g_server, lex);
223 result = ns_server_flushnode(ns_g_server, lex, ISC_FALSE);
225 result = ns_server_flushnode(ns_g_server, lex, ISC_TRUE);
227 result = ns_server_status(ns_g_server, text);
229 result = ns_server_tsiglist(ns_g_server, text);
231 result = ns_server_tsigdelete(ns_g_server, lex, text);
233 result = ns_server_freeze(ns_g_server, ISC_TRUE, lex,
237 result = ns_server_freeze(ns_g_server, ISC_FALSE, lex,
240 result = ISC_R_SUCCESS;
243 result = ns_server_sync(ns_g_server, lex, text);
245 result = ns_server_dumprecursing(ns_g_server);
247 result = ISC_R_SUCCESS;
250 result = ISC_R_SUCCESS;
252 result = ns_server_notifycommand(ns_g_server, lex, text);
254 result = ns_server_validation(ns_g_server, lex, text);
257 result = ns_server_rekey(ns_g_server, lex, text);
260 result = ns_server_changezone(ns_g_server, cmdline, text);
262 result = ns_server_delzone(ns_g_server, lex, text);
264 result = ns_server_showzone(ns_g_server, lex, text);
266 result = ns_server_signing(ns_g_server, lex, text);
268 result = ns_server_zonestatus(ns_g_server, lex, text);
270 result = ns_server_nta(ns_g_server, lex, readonly, text);
272 result = ns_server_testgen(lex, text);
274 result = ns_server_mkeys(ns_g_server, lex, text);
277 result = ns_server_dnstap(ns_g_server, lex, text);
283 result = DNS_R_UNKNOWNCOMMAND;
290 return (result);