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

Function mod_info_show_close

modules/generators/mod_info.c:207–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207static void mod_info_show_close(request_rec * r, const ap_directive_t * dir,
208 int nest)
209{
210 const char *dirname = dir->directive;
211 mod_info_indent(r, nest, dir->filename, 0);
212 if (*dirname == '<') {
213 if (r)
214 ap_rprintf(r, "&lt;/%s&gt;</tt></dd>",
215 ap_escape_html(r->pool, dirname + 1));
216 else
217 apr_file_printf(out, "</%s>\n", dirname + 1);
218 }
219 else {
220 if (r)
221 ap_rprintf(r, "/%s</tt></dd>", ap_escape_html(r->pool, dirname));
222 else
223 apr_file_printf(out, "/%s\n", dirname);
224 }
225}
226
227static int mod_info_has_cmd(const command_rec * cmds, ap_directive_t * dir)
228{

Callers 1

mod_info_module_cmdsFunction · 0.85

Calls 2

mod_info_indentFunction · 0.85
ap_rprintfFunction · 0.85

Tested by

no test coverage detected