stas 2004/01/09 19:37:18
Modified: src/docs/2.0/api/Apache ServerUtil.pod
Log:
replace items with =head2 entries so we can xref from other files
Revision Changes Path
1.3 +12 -26 modperl-docs/src/docs/2.0/api/Apache/ServerUtil.pod
Index: ServerUtil.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/ServerUtil.pod,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -u -r1.2 -r1.3
--- ServerUtil.pod 29 Jan 2003 02:47:12 -0000 1.2
+++ ServerUtil.pod 10 Jan 2004 03:37:18 -0000 1.3
@@ -8,10 +8,10 @@
$s = Apache->server;
my $srv_cfg = $s->dir_config;
-
+
# get 'conf/' dir path using $r
my $conf_dir = Apache::server_root_relative('conf', $r->pool);
-
+
# get 'log/' dir path using default server startup pool
my $log_dir = Apache::server_root_relative('log');
@@ -26,21 +26,15 @@
Function arguments (if any) and return values are shown in the
function's synopsis.
-=head2 CONSTANTS
-
-=over
+=head1 CONSTANTS
-=item * server_root
+=head2 server_root
returns the value set by the C<ServerRoot> directive.
-=back
-
-=head2 FUNCTIONS
-
-=over
+=head1 FUNCTIONS
-=item * server_root_relative()
+=head2 server_root_relative()
Returns the canonical form of the filename made absolute to
C<ServerRoot>:
@@ -58,13 +52,9 @@
Also see the C<server_root> constant.
-=back
+=head1 METHODS
-=head2 METHODS
-
-=over
-
-=item * server()
+=head2 server()
The main server's object can be retrieved with:
@@ -72,7 +62,7 @@
Gets the C<Apache::Server> object for the main server.
-=item * dir_config()
+=head2 dir_config()
dir_config() provides an interface for the per-server variables
specified by the C<PerlSetVar> and C<PerlAddVar> directives, and also
@@ -116,7 +106,7 @@
values associated with the key C<$key> (and the key itself) will be
deleted.
-=item * push_handlers()
+=head2 push_handlers()
$s->push_handlers(PerlResponseHandler => \&handler);
$s->push_handlers(PerlResponseHandler => [\&handler, \&handler2]);
@@ -124,12 +114,8 @@
# XXX: not implemented yet
$s->push_handlers(PerlResponseHandler => sub {...});
-=item * add_handlers()
-
-=item * get_handlers()
-
-
-=back
+=head2 add_handlers()
+=head2 get_handlers()
=cut
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]