Lines Matching defs:command_compare
61 command_compare(const char *str, const char *command) {
117 if (command_compare(command, NS_COMMAND_NULL) ||
118 command_compare(command, NS_COMMAND_STATUS))
131 !command_compare(command, NS_COMMAND_NTA) &&
132 !command_compare(command, NS_COMMAND_NULL) &&
133 !command_compare(command, NS_COMMAND_STATUS) &&
134 !command_compare(command, NS_COMMAND_SHOWZONE) &&
135 !command_compare(command, NS_COMMAND_TESTGEN) &&
136 !command_compare(command, NS_COMMAND_ZONESTATUS))
151 if (command_compare(command, NS_COMMAND_RELOAD)) {
153 } else if (command_compare(command, NS_COMMAND_RECONFIG)) {
155 } else if (command_compare(command, NS_COMMAND_REFRESH)) {
157 } else if (command_compare(command, NS_COMMAND_RETRANSFER)) {
160 } else if (command_compare(command, NS_COMMAND_HALT)) {
188 } else if (command_compare(command, NS_COMMAND_STOP)) {
205 } else if (command_compare(command, NS_COMMAND_DUMPSTATS)) {
207 } else if (command_compare(command, NS_COMMAND_QUERYLOG)) {
209 } else if (command_compare(command, NS_COMMAND_DUMPDB)) {
212 } else if (command_compare(command, NS_COMMAND_SECROOTS)) {
214 } else if (command_compare(command, NS_COMMAND_TRACE)) {
216 } else if (command_compare(command, NS_COMMAND_NOTRACE)) {
220 } else if (command_compare(command, NS_COMMAND_FLUSH)) {
222 } else if (command_compare(command, NS_COMMAND_FLUSHNAME)) {
224 } else if (command_compare(command, NS_COMMAND_FLUSHTREE)) {
226 } else if (command_compare(command, NS_COMMAND_STATUS)) {
228 } else if (command_compare(command, NS_COMMAND_TSIGLIST)) {
230 } else if (command_compare(command, NS_COMMAND_TSIGDELETE)) {
232 } else if (command_compare(command, NS_COMMAND_FREEZE)) {
235 } else if (command_compare(command, NS_COMMAND_UNFREEZE) ||
236 command_compare(command, NS_COMMAND_THAW)) {
239 } else if (command_compare(command, NS_COMMAND_SCAN)) {
242 } else if (command_compare(command, NS_COMMAND_SYNC)) {
244 } else if (command_compare(command, NS_COMMAND_RECURSING)) {
246 } else if (command_compare(command, NS_COMMAND_TIMERPOKE)) {
249 } else if (command_compare(command, NS_COMMAND_NULL)) {
251 } else if (command_compare(command, NS_COMMAND_NOTIFY)) {
253 } else if (command_compare(command, NS_COMMAND_VALIDATION)) {
255 } else if (command_compare(command, NS_COMMAND_SIGN) ||
256 command_compare(command, NS_COMMAND_LOADKEYS)) {
258 } else if (command_compare(command, NS_COMMAND_ADDZONE) ||
259 command_compare(command, NS_COMMAND_MODZONE)) {
261 } else if (command_compare(command, NS_COMMAND_DELZONE)) {
263 } else if (command_compare(command, NS_COMMAND_SHOWZONE)) {
265 } else if (command_compare(command, NS_COMMAND_SIGNING)) {
267 } else if (command_compare(command, NS_COMMAND_ZONESTATUS)) {
269 } else if (command_compare(command, NS_COMMAND_NTA)) {
271 } else if (command_compare(command, NS_COMMAND_TESTGEN)) {
273 } else if (command_compare(command, NS_COMMAND_MKEYS)) {
275 } else if (command_compare(command, NS_COMMAND_DNSTAP) ||
276 command_compare(command, NS_COMMAND_DNSTAPREOPEN)) {