httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1324791 - in /httpd/httpd/trunk/docs/manual/developer: modguide.html.en modguide.xml
Date Wed, 11 Apr 2012 14:49:11 GMT
Author: humbedooh
Date: Wed Apr 11 14:49:10 2012
New Revision: 1324791

URL: http://svn.apache.org/viewvc?rev=1324791&view=rev
Log:
Cast config vars as (example_config*) in examples.

Modified:
    httpd/httpd/trunk/docs/manual/developer/modguide.html.en
    httpd/httpd/trunk/docs/manual/developer/modguide.xml

Modified: httpd/httpd/trunk/docs/manual/developer/modguide.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/developer/modguide.html.en?rev=1324791&r1=1324790&r2=1324791&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/developer/modguide.html.en (original)
+++ httpd/httpd/trunk/docs/manual/developer/modguide.html.en Wed Apr 11 14:49:10 2012
@@ -1242,9 +1242,9 @@ two configurations and decide how they a
 
 <pre style="color:#000000;background:#ffffef;border: 1px dashed #333; padding: 0.5em;
margin: 1em 2em 1em 1em;">
 <code style="color:#400000; font-weight:bold; ">void</code><code style="color:#806030;
">*</code> merge_dir_conf<code style="color:#806030; ">(</code>apr_pool_t<code
style="color:#806030; ">*</code> pool<code style="color:#806030; ">,</code>
<code style="color:#400000; font-weight:bold; ">void</code><code style="color:#806030;
">*</code> BASE<code style="color:#806030; ">,</code> <code style="color:#400000;
font-weight:bold; ">void</code><code style="color:#806030; ">*</code>
ADD<code style="color:#806030; ">)</code> <code style="color:#806030; ">{</code>
-    example_config<code style="color:#806030; ">*</code> base <code style="color:#806030;
">=</code> BASE <code style="color:#806030; ">;</code>
-    example_config<code style="color:#806030; ">*</code> add <code style="color:#806030;
">=</code> ADD <code style="color:#806030; ">;</code>
-    example_config<code style="color:#806030; ">*</code> conf <code style="color:#806030;
">=</code> create_dir_conf<code style="color:#806030; ">(</code>pool<code
style="color:#806030; ">,</code> <code style="color:#800000; ">"</code><code
style="color:#e60000; ">Merged configuration</code><code style="color:#800000;
">"</code><code style="color:#806030; ">)</code><code style="color:#806030;
">;</code>
+    example_config<code style="color:#806030; ">*</code> base <code style="color:#806030;
">=</code> <code style="color:#806030; ">(</code>example_config <code
style="color:#806030; ">*</code><code style="color:#806030; ">)</code>
BASE <code style="color:#806030; ">;</code>
+    example_config<code style="color:#806030; ">*</code> add <code style="color:#806030;
">=</code> <code style="color:#806030; ">(</code>example_config <code
style="color:#806030; ">*</code><code style="color:#806030; ">)</code>
ADD <code style="color:#806030; ">;</code>
+    example_config<code style="color:#806030; ">*</code> conf <code style="color:#806030;
">=</code> <code style="color:#806030; ">(</code>example_config <code
style="color:#806030; ">*</code><code style="color:#806030; ">)</code>
create_dir_conf<code style="color:#806030; ">(</code>pool<code style="color:#806030;
">,</code> <code style="color:#800000; ">"</code><code style="color:#e60000;
">Merged configuration</code><code style="color:#800000; ">"</code><code
style="color:#806030; ">)</code><code style="color:#806030; ">;</code>
     
     conf<code style="color:#806030; ">-</code><code style="color:#806030;
">&gt;</code><code style="color:#008833">enabled</code> <code
style="color:#806030; ">=</code> <code style="color:#806030; ">(</code>
add<code style="color:#806030; ">-</code><code style="color:#806030; ">&gt;</code><code
style="color:#008833">enabled</code> <code style="color:#806030; ">=</code><code
style="color:#806030; ">=</code> <code style="color:#c00000; ">0</code>
<code style="color:#806030; ">)</code> <code style="color:#806030; ">?</code>
base<code style="color:#806030; ">-</code><code style="color:#806030; ">&gt;</code><code
style="color:#008833">enabled</code> <code style="color:#806030; ">:</code>
add<code style="color:#806030; ">-</code><code style="color:#806030; ">&gt;</code><code
style="color:#008833">enabled</code> <code style="color:#806030; ">;</code>
     conf<code style="color:#806030; ">-</code><code style="color:#806030;
">&gt;</code><code style="color:#008833">typeOfAction</code> <code
style="color:#806030; ">=</code> add<code style="color:#806030; ">-</code><code
style="color:#806030; ">&gt;</code><code style="color:#008833">typeOfAction</code>
<code style="color:#806030; ">?</code> add<code style="color:#806030; ">-</code><code
style="color:#806030; ">&gt;</code><code style="color:#008833">typeOfAction</code>
<code style="color:#806030; ">:</code> base<code style="color:#806030; ">-</code><code
style="color:#806030; ">&gt;</code><code style="color:#008833">typeOfAction</code><code
style="color:#806030; ">;</code>
@@ -1503,9 +1503,9 @@ module AP_MODULE_DECLARE_DATA    example
 <code style="color:#400000; font-weight:bold; ">void</code> <code style="color:#806030;
">*</code>merge_dir_conf<code style="color:#806030; ">(</code>apr_pool_t
<code style="color:#806030; ">*</code>pool<code style="color:#806030; ">,</code>
<code style="color:#400000; font-weight:bold; ">void</code> <code style="color:#806030;
">*</code>BASE<code style="color:#806030; ">,</code> <code style="color:#400000;
font-weight:bold; ">void</code> <code style="color:#806030; ">*</code>ADD<code
style="color:#806030; ">)</code>
 <code style="color:#806030; ">{</code>
     <code style="color:#c34e00; ">/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/</code>
-    example_config    <code style="color:#806030; ">*</code>base <code style="color:#806030;
">=</code> BASE<code style="color:#806030; ">;</code>
-    example_config    <code style="color:#806030; ">*</code>add <code style="color:#806030;
">=</code> ADD<code style="color:#806030; ">;</code>
-    example_config    <code style="color:#806030; ">*</code>conf <code style="color:#806030;
">=</code> create_dir_conf<code style="color:#806030; ">(</code>pool<code
style="color:#806030; ">,</code> <code style="color:#800000; ">"</code><code
style="color:#e60000; ">Merged configuration</code><code style="color:#800000;
">"</code><code style="color:#806030; ">)</code><code style="color:#806030;
">;</code>
+    example_config    <code style="color:#806030; ">*</code>base <code style="color:#806030;
">=</code> <code style="color:#806030; ">(</code>example_config <code
style="color:#806030; ">*</code><code style="color:#806030; ">)</code>
BASE<code style="color:#806030; ">;</code>
+    example_config    <code style="color:#806030; ">*</code>add <code style="color:#806030;
">=</code> <code style="color:#806030; ">(</code>example_config <code
style="color:#806030; ">*</code><code style="color:#806030; ">)</code>
ADD<code style="color:#806030; ">;</code>
+    example_config    <code style="color:#806030; ">*</code>conf <code style="color:#806030;
">=</code> <code style="color:#806030; ">(</code>example_config <code
style="color:#806030; ">*</code><code style="color:#806030; ">)</code>
create_dir_conf<code style="color:#806030; ">(</code>pool<code style="color:#806030;
">,</code> <code style="color:#800000; ">"</code><code style="color:#e60000;
">Merged configuration</code><code style="color:#800000; ">"</code><code
style="color:#806030; ">)</code><code style="color:#806030; ">;</code>
     <code style="color:#c34e00; ">/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/</code>
 
     conf<code style="color:#806030; ">-</code><code style="color:#806030;
">&gt;</code><code style="color:#008833">enabled</code> <code
style="color:#806030; ">=</code> <code style="color:#806030; ">(</code>add<code
style="color:#806030; ">-</code><code style="color:#806030; ">&gt;</code><code
style="color:#008833">enabled</code> <code style="color:#806030; ">=</code><code
style="color:#806030; ">=</code> <code style="color:#c00000; ">0</code><code
style="color:#806030; ">)</code> <code style="color:#806030; ">?</code>
base<code style="color:#806030; ">-</code><code style="color:#806030; ">&gt;</code><code
style="color:#008833">enabled</code> <code style="color:#806030; ">:</code>
add<code style="color:#806030; ">-</code><code style="color:#806030; ">&gt;</code><code
style="color:#008833">enabled</code><code style="color:#806030; ">;</code>

Modified: httpd/httpd/trunk/docs/manual/developer/modguide.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/developer/modguide.xml?rev=1324791&r1=1324790&r2=1324791&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/developer/modguide.xml (original)
+++ httpd/httpd/trunk/docs/manual/developer/modguide.xml Wed Apr 11 14:49:10 2012
@@ -1241,9 +1241,9 @@ two configurations and decide how they a
 <!-- BEGIN EXAMPLE CODE -->
 <pre style='color:#000000;background:#ffffef;border: 1px dashed #333; padding: 0.5em;
margin: 1em 2em 1em 1em;'>
 <code style='color:#400000; font-weight:bold; '>void</code><code style='color:#806030;
'>*</code> merge_dir_conf<code style='color:#806030; '>(</code>apr_pool_t<code
style='color:#806030; '>*</code> pool<code style='color:#806030; '>,</code>
<code style='color:#400000; font-weight:bold; '>void</code><code style='color:#806030;
'>*</code> BASE<code style='color:#806030; '>,</code> <code style='color:#400000;
font-weight:bold; '>void</code><code style='color:#806030; '>*</code>
ADD<code style='color:#806030; '>)</code> <code style='color:#806030; '>{</code>
-    example_config<code style='color:#806030; '>*</code> base <code style='color:#806030;
'>=</code> BASE <code style='color:#806030; '>;</code>
-    example_config<code style='color:#806030; '>*</code> add <code style='color:#806030;
'>=</code> ADD <code style='color:#806030; '>;</code>
-    example_config<code style='color:#806030; '>*</code> conf <code style='color:#806030;
'>=</code> create_dir_conf<code style='color:#806030; '>(</code>pool<code
style='color:#806030; '>,</code> <code style='color:#800000; '>"</code><code
style='color:#e60000; '>Merged configuration</code><code style='color:#800000;
'>"</code><code style='color:#806030; '>)</code><code style='color:#806030;
'>;</code>
+    example_config<code style='color:#806030; '>*</code> base <code style='color:#806030;
'>=</code> <code style='color:#806030; '>(</code>example_config <code
style='color:#806030; '>*</code><code style='color:#806030; '>)</code>
BASE <code style='color:#806030; '>;</code>
+    example_config<code style='color:#806030; '>*</code> add <code style='color:#806030;
'>=</code> <code style='color:#806030; '>(</code>example_config <code
style='color:#806030; '>*</code><code style='color:#806030; '>)</code>
ADD <code style='color:#806030; '>;</code>
+    example_config<code style='color:#806030; '>*</code> conf <code style='color:#806030;
'>=</code> <code style='color:#806030; '>(</code>example_config <code
style='color:#806030; '>*</code><code style='color:#806030; '>)</code>
create_dir_conf<code style='color:#806030; '>(</code>pool<code style='color:#806030;
'>,</code> <code style='color:#800000; '>"</code><code style='color:#e60000;
'>Merged configuration</code><code style='color:#800000; '>"</code><code
style='color:#806030; '>)</code><code style='color:#806030; '>;</code>
     
     conf<code style='color:#806030; '>-</code><code style='color:#806030;
'>></code><code style='color:#008833'>enabled</code> <code style='color:#806030;
'>=</code> <code style='color:#806030; '>(</code> add<code style='color:#806030;
'>-</code><code style='color:#806030; '>></code><code style='color:#008833'>enabled</code>
<code style='color:#806030; '>=</code><code style='color:#806030; '>=</code>
<code style='color:#c00000; '>0</code> <code style='color:#806030; '>)</code>
<code style='color:#806030; '>?</code> base<code style='color:#806030; '>-</code><code
style='color:#806030; '>></code><code style='color:#008833'>enabled</code>
<code style='color:#806030; '>:</code> add<code style='color:#806030; '>-</code><code
style='color:#806030; '>></code><code style='color:#008833'>enabled</code>
<code style='color:#806030; '>;</code>
     conf<code style='color:#806030; '>-</code><code style='color:#806030;
'>></code><code style='color:#008833'>typeOfAction</code> <code
style='color:#806030; '>=</code> add<code style='color:#806030; '>-</code><code
style='color:#806030; '>></code><code style='color:#008833'>typeOfAction</code>
<code style='color:#806030; '>?</code> add<code style='color:#806030; '>-</code><code
style='color:#806030; '>></code><code style='color:#008833'>typeOfAction</code>
<code style='color:#806030; '>:</code> base<code style='color:#806030; '>-</code><code
style='color:#806030; '>></code><code style='color:#008833'>typeOfAction</code><code
style='color:#806030; '>;</code>
@@ -1502,9 +1502,9 @@ module AP_MODULE_DECLARE_DATA    example
 <code style='color:#400000; font-weight:bold; '>void</code> <code style='color:#806030;
'>*</code>merge_dir_conf<code style='color:#806030; '>(</code>apr_pool_t
<code style='color:#806030; '>*</code>pool<code style='color:#806030; '>,</code>
<code style='color:#400000; font-weight:bold; '>void</code> <code style='color:#806030;
'>*</code>BASE<code style='color:#806030; '>,</code> <code style='color:#400000;
font-weight:bold; '>void</code> <code style='color:#806030; '>*</code>ADD<code
style='color:#806030; '>)</code>
 <code style='color:#806030; '>{</code>
     <code style='color:#c34e00; '>/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/</code>
-    example_config    <code style='color:#806030; '>*</code>base <code style='color:#806030;
'>=</code> BASE<code style='color:#806030; '>;</code>
-    example_config    <code style='color:#806030; '>*</code>add <code style='color:#806030;
'>=</code> ADD<code style='color:#806030; '>;</code>
-    example_config    <code style='color:#806030; '>*</code>conf <code style='color:#806030;
'>=</code> create_dir_conf<code style='color:#806030; '>(</code>pool<code
style='color:#806030; '>,</code> <code style='color:#800000; '>"</code><code
style='color:#e60000; '>Merged configuration</code><code style='color:#800000;
'>"</code><code style='color:#806030; '>)</code><code style='color:#806030;
'>;</code>
+    example_config    <code style='color:#806030; '>*</code>base <code style='color:#806030;
'>=</code> <code style='color:#806030; '>(</code>example_config <code
style='color:#806030; '>*</code><code style='color:#806030; '>)</code>
BASE<code style='color:#806030; '>;</code>
+    example_config    <code style='color:#806030; '>*</code>add <code style='color:#806030;
'>=</code> <code style='color:#806030; '>(</code>example_config <code
style='color:#806030; '>*</code><code style='color:#806030; '>)</code>
ADD<code style='color:#806030; '>;</code>
+    example_config    <code style='color:#806030; '>*</code>conf <code style='color:#806030;
'>=</code> <code style='color:#806030; '>(</code>example_config <code
style='color:#806030; '>*</code><code style='color:#806030; '>)</code>
create_dir_conf<code style='color:#806030; '>(</code>pool<code style='color:#806030;
'>,</code> <code style='color:#800000; '>"</code><code style='color:#e60000;
'>Merged configuration</code><code style='color:#800000; '>"</code><code
style='color:#806030; '>)</code><code style='color:#806030; '>;</code>
     <code style='color:#c34e00; '>/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/</code>
 
     conf<code style='color:#806030; '>-</code><code style='color:#806030;
'>></code><code style='color:#008833'>enabled</code> <code style='color:#806030;
'>=</code> <code style='color:#806030; '>(</code>add<code style='color:#806030;
'>-</code><code style='color:#806030; '>></code><code style='color:#008833'>enabled</code>
<code style='color:#806030; '>=</code><code style='color:#806030; '>=</code>
<code style='color:#c00000; '>0</code><code style='color:#806030; '>)</code>
<code style='color:#806030; '>?</code> base<code style='color:#806030; '>-</code><code
style='color:#806030; '>></code><code style='color:#008833'>enabled</code>
<code style='color:#806030; '>:</code> add<code style='color:#806030; '>-</code><code
style='color:#806030; '>></code><code style='color:#008833'>enabled</code><code
style='color:#806030; '>;</code>



Mime
View raw message