--------------------------------------------------------------------------*/ We prototyped the various syntax for command handlers (routines that */ are called when the configuration parser detects a directive declared */ by our module) earlier. Now we actually declare a "real" routine that */ will be invoked by the parser when our "real" directive is */ encountered.
| 521 | * current location in that location's configuration record. |
| 522 | */ |
| 523 | static const char *cmd_example(cmd_parms *cmd, void *mconfig) |
| 524 | { |
| 525 | x_cfg *cfg = (x_cfg *) mconfig; |
| 526 | |
| 527 | /* |
| 528 | * "Example Wuz Here" |
| 529 | */ |
| 530 | cfg->local = 1; |
| 531 | trace_startup(cmd->pool, cmd->server, cfg, "cmd_example()"); |
| 532 | return NULL; |
| 533 | } |
| 534 | |
| 535 | /* |
| 536 | * This function gets called to create a per-directory configuration |
nothing calls this directly
no test coverage detected