Sfoglia il codice sorgente

pike Update README with section ID's

Olle E. Johansson 12 anni fa
parent
commit
ddfadf58f4
2 ha cambiato i file con 9 aggiunte e 9 eliminazioni
  1. 3 3
      modules/pike/README
  2. 6 6
      modules/pike/doc/pike_admin.xml

+ 3 - 3
modules/pike/README

@@ -174,7 +174,7 @@ modparam("pike", "pike_log_level", -1)
 
 
    4.1. pike_check_req()
    4.1. pike_check_req()
 
 
-4.1.  pike_check_req()
+4.1. pike_check_req()
 
 
    Process the source IP of the current request and returns false if the
    Process the source IP of the current request and returns false if the
    IP was exceeding the blocking limit.
    IP was exceeding the blocking limit.
@@ -200,7 +200,7 @@ if (!pike_check_req()) { exit; };
 
 
    5.1. pike_list
    5.1. pike_list
 
 
-5.1.  pike_list
+5.1. pike_list
 
 
    Lists the nodes in the pike tree.
    Lists the nodes in the pike tree.
 
 
@@ -218,7 +218,7 @@ Chapter 2. RPC calls
 
 
    1. pike.top
    1. pike.top
 
 
-1.  pike.top
+1. pike.top
 
 
    Pike.top behaves like a 'top' command and shows source IP addresses of
    Pike.top behaves like a 'top' command and shows source IP addresses of
    incoming requestes to pike_check_req() function.
    incoming requestes to pike_check_req() function.

+ 6 - 6
modules/pike/doc/pike_admin.xml

@@ -58,7 +58,7 @@
 	</section>
 	</section>
 	<section>
 	<section>
 	<title>Parameters</title>
 	<title>Parameters</title>
-	<section>
+	<section id="pike.p.sampling_time_unit">
 		<title><varname>sampling_time_unit</varname> (integer)</title>
 		<title><varname>sampling_time_unit</varname> (integer)</title>
 		<para>
 		<para>
 		Time period in seconds used for sampling (or the sampling accuracy).
 		Time period in seconds used for sampling (or the sampling accuracy).
@@ -85,7 +85,7 @@ modparam("pike", "sampling_time_unit", 10)
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	<section>
+	<section id="pike.p.reqs_density_per_unit">
 		<title><varname>reqs_density_per_unit</varname> (integer)</title>
 		<title><varname>reqs_density_per_unit</varname> (integer)</title>
 		<para>
 		<para>
 		How many requests should be allowed per sampling_time_unit before 
 		How many requests should be allowed per sampling_time_unit before 
@@ -107,7 +107,7 @@ modparam("pike", "reqs_density_per_unit", 30)
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	<section>
+	<section id="pike.p.remove_latency">
 		<title><varname>remove_latency</varname> (integer)</title>
 		<title><varname>remove_latency</varname> (integer)</title>
 		<para>
 		<para>
 		For how long the IP address will be kept in memory after the last 
 		For how long the IP address will be kept in memory after the last 
@@ -132,7 +132,7 @@ modparam("pike", "remove_latency", 130)
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	<section>
+	<section id="pike.p.pike_log_level">
 		<title><varname>pike_log_level</varname> (integer)</title>
 		<title><varname>pike_log_level</varname> (integer)</title>
 		<para>
 		<para>
 		Log level to be used by module to auto report the blocking (only first
 		Log level to be used by module to auto report the blocking (only first
@@ -157,7 +157,7 @@ modparam("pike", "pike_log_level", -1)
 
 
 	<section>
 	<section>
 	<title>Functions</title>
 	<title>Functions</title>
-	<section>
+	<section id="pike.f.pike_check_req">
 		<title>
 		<title>
 		<function moreinfo="none">pike_check_req()</function>
 		<function moreinfo="none">pike_check_req()</function>
 		</title>
 		</title>
@@ -208,7 +208,7 @@ if (!pike_check_req()) { exit; };
 
 
 	<section>
 	<section>
 	<title>MI Commands</title>
 	<title>MI Commands</title>
-	<section>
+	<section id="pike.m.pike_list">
 		<title>
 		<title>
 		<function moreinfo="none">pike_list</function>
 		<function moreinfo="none">pike_list</function>
 		</title>
 		</title>