Esempio n. 1
0
/**
 * @internal
 *
 * "IronBeeBufferSize" and "IronBeeBufferFlushSize" configuration directives.
 */
static const char *ironbee_cmd_sz(cmd_parms *cmd, void *dummy, const char *p1)
{
    if (cmd->server->is_virtual) {
        return MODULE_NAME_STR ": IronBee directive not allowed in VirtualHost";
    }
    dummy = ap_get_module_config(cmd->server->module_config, &ironbee_module);
    return ap_set_int_slot(cmd, dummy, p1);
}
static const char *set_authn_set_int(cmd_parms *cmd, void *offset,
                                       const char *f )
{
    return ap_set_int_slot(cmd, offset, f);
}