home *** CD-ROM | disk | FTP | other *** search
- #
- # /*
- # * *********** WARNING **************
- # * This file generated by ModPerl::WrapXS/0.01
- # * Any changes made here will be lost
- # * ***********************************
- # * 01: lib/ModPerl/Code.pm:701
- # * 02: O:\147xampp\sources\mod_perl-1.99_16\blib\lib/ModPerl/WrapXS.pm:584
- # * 03: O:\147xampp\sources\mod_perl-1.99_16\blib\lib/ModPerl/WrapXS.pm:1100
- # * 04: Makefile.PL:335
- # * 05: Makefile.PL:283
- # * 06: Makefile.PL:51
- # */
- #
-
-
- package Apache::Process;
-
- use strict;
- use warnings FATAL => 'all';
-
-
-
- use Apache::XSLoader ();
- our $VERSION = '0.01';
- Apache::XSLoader::load __PACKAGE__;
-
-
-
- 1;
- __END__
-
- =head1 NAME
-
- Apache::Process - Perl API for Apache process record
-
-
-
-
- =head1 Synopsis
-
- use Apache::Process ();
- use Apache::ServerRec ();
- my $proc = $s->process;
-
- # global pool cleared on exit
- my $global_pool = $proc->pool;
-
- # configuration pool cleared on restart
- my $pconf = $proc->pconf;
-
- # short program name (e.g. httpd)
- my $proc_name = $proc->short_name;
-
-
-
-
-
-
- =head1 Description
-
- C<Apache::Process> provides the API for the Apache process object,
- which you can retrieve with
- C<L<$s-E<gt>process|docs::2.0::api::Apache::ServerRec/C_process_>>:
-
- use Apache::ServerRec ();
- $proc = $s->process;
-
-
-
-
- =head1 API
-
- C<Apache::Process> provides the following functions and/or methods:
-
-
-
-
- =head2 C<pconf>
-
- Get configuration pool object.
-
- $p = $proc->pconf();
-
- =over 4
-
- =item obj: C<$proc>
- ( C<L<Apache::Process object|docs::2.0::api::Apache::Process>> )
-
- =item ret: C<$p>
- ( C<L<APR::Pool object|docs::2.0::api::APR::Pool>> )
-
- =item since: 1.99_15
-
- =back
-
- This pool object gets cleared on server restart.
-
-
-
-
-
-
-
- =head2 C<pool>
-
- Get the global pool object.
-
- $p = $proc->pool();
-
- =over 4
-
- =item obj: C<$proc>
- ( C<L<Apache::Process object|docs::2.0::api::Apache::Process>> )
-
- =item ret: C<$p>
- ( C<L<APR::Pool object|docs::2.0::api::APR::Pool>> )
-
- =item since: 1.99_15
-
- =back
-
- This pool object gets cleared only on (normal) server exit
-
-
-
-
-
-
-
-
- =head2 C<short_name>
-
- The name of the program used to execute the program
-
- $short_name = $proc->short_name();
-
- =over 4
-
- =item obj: C<$proc>
- ( C<L<Apache::Process object|docs::2.0::api::Apache::Process>> )
-
- =item ret: C<$short_name> (string)
-
- e.g. C<httpd>
-
- =item since: 1.99_15
-
- =back
-
-
-
-
-
-
-
-
-
- =head1 See Also
-
- L<mod_perl 2.0 documentation|docs::2.0::index>.
-
-
-
-
- =head1 Copyright
-
- mod_perl 2.0 and its core modules are copyrighted under
- The Apache Software License, Version 2.0.
-
-
-
-
- =head1 Authors
-
- L<The mod_perl development team and numerous
- contributors|about::contributors::people>.
-
- =cut
-
-