MCPcopy Create free account
hub / github.com/apache/httpd / mod_info_has_cmd

Function mod_info_has_cmd

modules/generators/mod_info.c:227–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227static int mod_info_has_cmd(const command_rec * cmds, ap_directive_t * dir)
228{
229 const command_rec *cmd;
230 if (cmds == NULL)
231 return 1;
232 for (cmd = cmds; cmd->name; ++cmd) {
233 if (ap_cstr_casecmp(cmd->name, dir->directive) == 0)
234 return 1;
235 }
236 return 0;
237}
238
239static void mod_info_show_parents(request_rec * r, ap_directive_t * node,
240 int from, int to)

Callers 1

mod_info_module_cmdsFunction · 0.85

Calls 1

ap_cstr_casecmpFunction · 0.85

Tested by

no test coverage detected