# # /* # * *********** WARNING ************** # * This file generated by ModPerl::WrapXS/0.01 # * Any changes made here will be lost # * *********************************** # * 01: lib/ModPerl/Code.pm:708 # * 02: lib/ModPerl/WrapXS.pm:624 # * 03: lib/ModPerl/WrapXS.pm:1173 # * 04: Makefile.PL:423 # * 05: Makefile.PL:325 # * 06: Makefile.PL:56 # */ # package Apache2::Command; use strict; use warnings FATAL => 'all'; use Apache2::XSLoader (); our $VERSION = '2.000002'; Apache2::XSLoader::load __PACKAGE__; 1; __END__ =head1 NAME Apache2::Command - Perl API for accessing Apache module command information =head1 Synopsis use Apache2::Module (); use Apache2::Command (); my $module = Apache2::Module::find_linked_module('mod_perl.c'); for (my $cmd = $module->cmds; $cmd; $cmd = $cmd->next) { $cmd->args_how(); $cmd->errmsg(); $cmd->name(); $cmd->req_override(); } =head1 Description C provides the Perl API for accessing Apache module command information =head1 API C provides the following functions and/or methods: =head2 C What the command expects as arguments: $how = $cmd->args_how(); =over 4 =item obj: C ( C ) =item ret: C ( C constant|docs::2.0::api::Apache2::Const/C__cmd_how_>> ) The flag value representing the type of this command (i.e. C, C). =item since: 2.0.00 =back =head2 C Get I message for that command, in case of syntax errors: $error = $cmd->errmsg(); =over 4 =item obj: C ( C ) =item ret: C ( string ) The error message =item since: 2.0.00 =back =head2 C Get the name of this command: $name = $cmd->name(); =over 4 =item obj: C ( C ) =item ret: C ( string ) The command name =item since: 2.0.00 =back =head2 C Get the next command in the chain of commands for this module: $next = $cmd->next(); =over 4 =item obj: C ( C ) =item ret: C ( C ) Returns the next command in the chain for this module, C for the last command. =item since: 2.0.00 =back =head2 C What overrides need to be allowed to enable this command: $override = $cmd->req_override =over 4 =item obj: C ( C ) =item ret: C ( C constant|docs::2.0::api::Apache2::Const/C__override_>> ) The bit mask representing the overrides this command is allowed in (i.e C/C). =item since: 2.0.00 =back For example: use Apache2::Const -compile => qw(:override); $cmd->req_override() & Apache2::Const::OR_AUTHCFG; $cmd->req_override() & Apache2::Const::OR_LIMIT; =head1 See Also L. =head1 Copyright mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. =head1 Authors L contributors|about::contributors::people>. =cut