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

Function menu_comment

modules/mappers/mod_imagemap.c:504–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504static void menu_comment(request_rec *r, char *menu, char *comment)
505{
506 /* comments are ignored in the 'formatted' form */
507 if (!strcasecmp(menu, "formatted")) {
508 ap_rputs("\n", r); /* print just a newline if 'formatted' */
509 }
510 else if (!strcasecmp(menu, "semiformatted") && *comment) {
511 ap_rvputs(r, comment, "\n", NULL);
512 }
513 else if (!strcasecmp(menu, "unformatted") && *comment) {
514 ap_rvputs(r, comment, "\n", NULL);
515 }
516}
517
518static void menu_default(request_rec *r, const char *menu, const char *href, const char *text)
519{

Callers 1

imap_handler_internalFunction · 0.85

Calls 2

ap_rputsFunction · 0.85
ap_rvputsFunction · 0.85

Tested by

no test coverage detected