<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"># 
# /*
#  * *********** WARNING **************
#  * This file generated by ModPerl::WrapXS/0.01
#  * Any changes made here will be lost
#  * ***********************************
#  * 01: lib/ModPerl/Code.pm:709
#  * 02: lib/ModPerl/WrapXS.pm:633
#  * 03: lib/ModPerl/WrapXS.pm:1182
#  * 04: Makefile.PL:427
#  * 05: Makefile.PL:329
#  * 06: Makefile.PL:58
#  */
# 


package Apache2::Command;

use strict;
use warnings FATAL =&gt; 'all';



use Apache2::XSLoader ();
our $VERSION = '2.000008';
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-&gt;cmds; $cmd; $cmd = $cmd-&gt;next) {
      $cmd-&gt;args_how();
      $cmd-&gt;errmsg();
      $cmd-&gt;name();
      $cmd-&gt;req_override();
  }






=head1 Description

C&lt;Apache2::Command&gt; provides the Perl API for accessing Apache module
command information






=head1 API

C&lt;Apache2::Command&gt; provides the following functions and/or methods:






=head2 C&lt;args_how&gt;

What the command expects as arguments:

  $how = $cmd-&gt;args_how();

=over 4

=item obj: C&lt;$cmd&gt;
( C&lt;L&lt;Apache2::Command object|docs::2.0::api::Apache2::Command&gt;&gt; )

=item ret: C&lt;$how&gt; ( C&lt;L&lt;Apache2::Const :cmd_how
constant|docs::2.0::api::Apache2::Const/C__cmd_how_&gt;&gt; )

The flag value representing the type of this command
(i.e. C&lt;Apache2::Const::ITERATE&gt;, C&lt;Apache2::Const::TAKE2&gt;).

=item since: 2.0.00

=back







=head2 C&lt;errmsg&gt;

Get I&lt;usage&gt; message for that command, in case of syntax errors:

  $error = $cmd-&gt;errmsg();

=over 4

=item obj: C&lt;$cmd&gt;
( C&lt;L&lt;Apache2::Command object|docs::2.0::api::Apache2::Command&gt;&gt; )

=item ret: C&lt;$error&gt; ( string )

The error message

=item since: 2.0.00

=back







=head2 C&lt;name&gt;

Get the name of this command:

  $name = $cmd-&gt;name();

=over 4

=item obj: C&lt;$cmd&gt;
( C&lt;L&lt;Apache2::Command object|docs::2.0::api::Apache2::Command&gt;&gt; )

=item ret: C&lt;$name&gt; ( string )

The command name

=item since: 2.0.00

=back






=head2 C&lt;next&gt;

Get the next command in the chain of commands for this module:

  $next = $cmd-&gt;next();

=over 4

=item obj: C&lt;$cmd&gt;
( C&lt;L&lt;Apache2::Command object|docs::2.0::api::Apache2::Command&gt;&gt; )

=item ret: C&lt;$next&gt;
( C&lt;L&lt;Apache2::Command object|docs::2.0::api::Apache2::Command&gt;&gt; )

Returns the next command in the chain for this module, C&lt;undef&gt; for
the last command.

=item since: 2.0.00

=back








=head2 C&lt;req_override&gt;

What overrides need to be allowed to enable this command:

  $override = $cmd-&gt;req_override

=over 4

=item obj: C&lt;$cmd&gt;
( C&lt;L&lt;Apache2::Command object|docs::2.0::api::Apache2::Command&gt;&gt; )

=item ret: C&lt;$override&gt; ( C&lt;L&lt;Apache2::Const :override
constant|docs::2.0::api::Apache2::Const/C__override_&gt;&gt; )

The bit mask representing the overrides this command is allowed in
(i.e C&lt;Apache2::Const::OR_ALL&gt;/C&lt;Apache2::Const::ACCESS_CONF&gt;).

=item since: 2.0.00

=back

For example:

  use Apache2::Const -compile =&gt; qw(:override);
  $cmd-&gt;req_override() &amp; Apache2::Const::OR_AUTHCFG;
  $cmd-&gt;req_override() &amp; Apache2::Const::OR_LIMIT;






=head1 See Also

L&lt;mod_perl 2.0 documentation|docs::2.0::index&gt;.




=head1 Copyright

mod_perl 2.0 and its core modules are copyrighted under
The Apache Software License, Version 2.0.




=head1 Authors

L&lt;The mod_perl development team and numerous
contributors|about::contributors::people&gt;.

=cut

</pre></body></html>