Browse Source

cfgutils Adding ID's to xml sections for alfabetic indexes

Olle E. Johansson 12 years ago
parent
commit
e9267d7e6a
2 changed files with 42 additions and 42 deletions
  1. 10 10
      modules/cfgutils/README
  2. 32 32
      modules/cfgutils/doc/cfgutils_admin.xml

+ 10 - 10
modules/cfgutils/README

@@ -338,7 +338,7 @@ rand_reset_prob();
 ...
 ...
 rand_get_prob();
 rand_get_prob();
 
 
-4.5.  sleep(time)
+4.5. sleep(time)
 
 
    Waits "time" seconds.
    Waits "time" seconds.
 
 
@@ -353,7 +353,7 @@ rand_get_prob();
 sleep("1");
 sleep("1");
 ...
 ...
 
 
-4.6.  usleep(time)
+4.6. usleep(time)
 
 
    Waits "time" milli-seconds.
    Waits "time" milli-seconds.
 
 
@@ -368,7 +368,7 @@ sleep("1");
 usleep("500");
 usleep("500");
 ...
 ...
 
 
-4.7.  abort()
+4.7. abort()
 
 
    Debugging function that aborts the server. Depending on the
    Debugging function that aborts the server. Depending on the
    configuration of the server a core dump will be created.
    configuration of the server a core dump will be created.
@@ -381,7 +381,7 @@ usleep("500");
 abort();
 abort();
 ...
 ...
 
 
-4.8.  pkg_status()
+4.8. pkg_status()
 
 
    Debugging function that dumps the status for the private (PKG) memory.
    Debugging function that dumps the status for the private (PKG) memory.
    This information is logged to the default log facility, depending on
    This information is logged to the default log facility, depending on
@@ -396,7 +396,7 @@ abort();
 pkg_status();
 pkg_status();
 ...
 ...
 
 
-4.9.  pkg_summary()
+4.9. pkg_summary()
 
 
    Debugging function that dumps the summary for the private (PKG) memory
    Debugging function that dumps the summary for the private (PKG) memory
    usage. This information is logged to the default log facility,
    usage. This information is logged to the default log facility,
@@ -411,7 +411,7 @@ pkg_status();
 pkg_summary();
 pkg_summary();
 ...
 ...
 
 
-4.10.  shm_status()
+4.10. shm_status()
 
 
    Debugging function that dumps the status for the shared (SHM) memory.
    Debugging function that dumps the status for the shared (SHM) memory.
    This information is logged to the default log facility, depending on
    This information is logged to the default log facility, depending on
@@ -426,7 +426,7 @@ pkg_summary();
 shm_status();
 shm_status();
 ...
 ...
 
 
-4.11.  shm_summary()
+4.11. shm_summary()
 
 
    Debugging function that dumps the summary for the shared (SHM) memory
    Debugging function that dumps the summary for the shared (SHM) memory
    usage. This information is logged to the default log facility,
    usage. This information is logged to the default log facility,
@@ -612,7 +612,7 @@ $ kamctl fifo rand_set_prob 10
 
 
    This command don't need a parameter.
    This command don't need a parameter.
 
 
-   Example 1.25.  rand_reset_prob usage
+   Example 1.25. rand_reset_prob usage
 ...
 ...
 $ kamctl fifo rand_reset_prob
 $ kamctl fifo rand_reset_prob
 ...
 ...
@@ -676,7 +676,7 @@ $ kamctl fifo set_gflag 0x3
    The parameter value must be a bitmask in decimal or hexadecimal format.
    The parameter value must be a bitmask in decimal or hexadecimal format.
    The bitmask has a 32 bit size.
    The bitmask has a 32 bit size.
 
 
-   Example 1.30.  reset_gflag usage
+   Example 1.30. reset_gflag usage
 ...
 ...
 $ kamctl fifo reset_gflag 1
 $ kamctl fifo reset_gflag 1
 $ kamctl fifo reset_gflag 0x3
 $ kamctl fifo reset_gflag 0x3
@@ -715,7 +715,7 @@ TRUE
    Return the bitmap with all flags. The function gets no parameters and
    Return the bitmap with all flags. The function gets no parameters and
    returns the bitmap in hexadecimal and decimal format.
    returns the bitmap in hexadecimal and decimal format.
 
 
-   Example 1.32.  get_gflags usage
+   Example 1.32. get_gflags usage
 ...
 ...
 $ kamctl fifo get_gflags
 $ kamctl fifo get_gflags
 0x3039
 0x3039

+ 32 - 32
modules/cfgutils/doc/cfgutils_admin.xml

@@ -92,7 +92,7 @@
     </section>
     </section>
     <section>
     <section>
 	<title>Parameters</title>
 	<title>Parameters</title>
-	<section>
+	<section id="cfgutils.p.initial_propability">
 		<title><varname>initial_probability</varname> (string)</title>
 		<title><varname>initial_probability</varname> (string)</title>
 		<para>
 		<para>
 		The initial value of the probability.
 		The initial value of the probability.
@@ -111,7 +111,7 @@ modparam("cfgutils", "initial_probability", 15)
 	    </example>
 	    </example>
 	</section>
 	</section>
 
 
-	<section>
+	<section id="cfgutils.p.hash_file">
 		<title><varname>hash_file</varname> (string)</title>
 		<title><varname>hash_file</varname> (string)</title>
 		<para>
 		<para>
 		The config file name for that a hash value should be calculated on startup.
 		The config file name for that a hash value should be calculated on startup.
@@ -130,7 +130,7 @@ modparam("cfgutils", "hash_file", "/etc/kamailio/&kamailioconfig;")
 	    </example>
 	    </example>
 	</section>
 	</section>
 
 
-		<section>
+		<section id="cfgutils.p.initial_gflags">
 		<title><varname>initial_gflags</varname> (integer)</title>
 		<title><varname>initial_gflags</varname> (integer)</title>
 		<para>
 		<para>
 		The initial value of global flags bitmap.
 		The initial value of global flags bitmap.
@@ -145,7 +145,7 @@ modparam("cfgutils", "initial_gflags", 15)
 		</programlisting>
 		</programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-		<section>
+		<section id="cfgutils.p.lock_set_size">
 		<title><varname>lock_set_size</varname> (integer)</title>
 		<title><varname>lock_set_size</varname> (integer)</title>
 		<para>
 		<para>
 		Size of lock set - the value is used as power of two to compute the
 		Size of lock set - the value is used as power of two to compute the
@@ -165,7 +165,7 @@ modparam("cfgutils", "lock_set_size", 4)
 
 
     <section>
     <section>
 	<title>Functions</title>
 	<title>Functions</title>
-	<section>
+	<section  id="cfgutils.f.rand_event">
 		<title><function moreinfo="none">rand_event()</function></title>
 		<title><function moreinfo="none">rand_event()</function></title>
 		<para>
 		<para>
 			Return true or false, depending on a random value and a
 			Return true or false, depending on a random value and a
@@ -186,7 +186,7 @@ if (rand_event()) {
 		</example>
 		</example>
 	</section>
 	</section>
 	
 	
-	<section>
+	<section id="cfgutils.f.rand_set_prob">
 	    <title><function moreinfo="none">rand_set_prob(probabiltiy)</function></title>
 	    <title><function moreinfo="none">rand_set_prob(probabiltiy)</function></title>
 	    <para>
 	    <para>
 		Set the <quote>probability</quote> of the decision.
 		Set the <quote>probability</quote> of the decision.
@@ -204,7 +204,7 @@ rand_set_prob("4");
 	    </example>
 	    </example>
 	</section>
 	</section>
 
 
-	<section>
+	<section id="cfgutils.f.rand_reset_prob">
 	    <title><function moreinfo="none">rand_reset_prob()</function></title>
 	    <title><function moreinfo="none">rand_reset_prob()</function></title>
 	    <para>
 	    <para>
 		Reset the probability back to the inital value.
 		Reset the probability back to the inital value.
@@ -219,7 +219,7 @@ rand_reset_prob();
 	    </example>
 	    </example>
 	</section>
 	</section>
 
 
-	<section>
+	<section id="cfgutils.f.rand_get_prob">
 	    <title><function moreinfo="none">rand_get_prob()</function></title>
 	    <title><function moreinfo="none">rand_get_prob()</function></title>
 	    <para>
 	    <para>
 		Return the current probability setting, e.g. for logging purposes.
 		Return the current probability setting, e.g. for logging purposes.
@@ -233,7 +233,7 @@ rand_get_prob();
 </programlisting>
 </programlisting>
 	    </example>
 	    </example>
 	</section>
 	</section>
-	<section>
+	<section id="cfgutils.f.sleep">
 		<title>
 		<title>
 			<function moreinfo="none">sleep(time)</function>
 			<function moreinfo="none">sleep(time)</function>
 		</title>
 		</title>
@@ -261,7 +261,7 @@ sleep("1");
 		</example>
 		</example>
 	</section>
 	</section>
 	
 	
-	<section>
+	<section id="cfgutils.f.usleep">
 		<title>
 		<title>
 			<function moreinfo="none">usleep(time)</function>
 			<function moreinfo="none">usleep(time)</function>
 		</title>
 		</title>
@@ -289,7 +289,7 @@ usleep("500");
 		</example>
 		</example>
 	</section>
 	</section>
 	
 	
-	<section>
+	<section id="cfgutils.f.abort">
 		<title>
 		<title>
 			<function moreinfo="none">abort()</function>
 			<function moreinfo="none">abort()</function>
 		</title>
 		</title>
@@ -311,7 +311,7 @@ abort();
 		</example>
 		</example>
 	</section>
 	</section>
 	
 	
-	<section>
+	<section id="cfgutils.f.pkg_status">
 		<title>
 		<title>
 			<function moreinfo="none">pkg_status()</function>
 			<function moreinfo="none">pkg_status()</function>
 		</title>
 		</title>
@@ -335,7 +335,7 @@ pkg_status();
 		</example>
 		</example>
 	</section>
 	</section>
 	
 	
-	<section>
+	<section id="cfgutils.f.pkg_summary">
 		<title>
 		<title>
 			<function moreinfo="none">pkg_summary()</function>
 			<function moreinfo="none">pkg_summary()</function>
 		</title>
 		</title>
@@ -359,7 +359,7 @@ pkg_summary();
 		</example>
 		</example>
 	</section>
 	</section>
 	
 	
-	<section>
+	<section id="cfgutils.f.shm_status">
 		<title>
 		<title>
 			<function moreinfo="none">shm_status()</function>
 			<function moreinfo="none">shm_status()</function>
 		</title>
 		</title>
@@ -383,7 +383,7 @@ shm_status();
 		</example>
 		</example>
 	</section>
 	</section>
 
 
-	<section>
+	<section  id="cfgutils.f.shm_summary">
 		<title>
 		<title>
 			<function moreinfo="none">shm_summary()</function>
 			<function moreinfo="none">shm_summary()</function>
 		</title>
 		</title>
@@ -407,7 +407,7 @@ shm_summary();
 		</example>
 		</example>
 	</section>
 	</section>
 	
 	
-	<section>
+	<section id="cfgutils.f.set_gflag">
 		<title><function moreinfo="none">set_gflag(flag)</function></title>
 		<title><function moreinfo="none">set_gflag(flag)</function></title>
 		<para>
 		<para>
 		Set the bit at the position <quote>flag</quote> in global flags.
 		Set the bit at the position <quote>flag</quote> in global flags.
@@ -429,7 +429,7 @@ set_gflag("4");
 		</example>
 		</example>
 	</section>
 	</section>
 
 
-	<section>
+	<section id="cfgutils.f.reset_gflag">
 		<title><function moreinfo="none">reset_gflag(flag)</function></title>
 		<title><function moreinfo="none">reset_gflag(flag)</function></title>
 		<para>
 		<para>
 		Reset the bit at the position <quote>flag</quote> in global flags.
 		Reset the bit at the position <quote>flag</quote> in global flags.
@@ -451,7 +451,7 @@ reset_gflag("4");
 		</example>
 		</example>
 	</section>
 	</section>
 
 
-	<section>
+	<section id="cfgutils.f.is_gflag">
 		<title><function moreinfo="none">is_gflag(flag)</function></title>
 		<title><function moreinfo="none">is_gflag(flag)</function></title>
 		<para>
 		<para>
 		Check if bit at the position <quote>flag</quote> in global flags is
 		Check if bit at the position <quote>flag</quote> in global flags is
@@ -478,7 +478,7 @@ if(is_gflag("4"))
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	<section>
+	<section id="cfgutils.f.lock">
 		<title><function moreinfo="none">lock(key)</function></title>
 		<title><function moreinfo="none">lock(key)</function></title>
 		<para>
 		<para>
 		Lock the key. Can be used to syncronize operations in config file,
 		Lock the key. Can be used to syncronize operations in config file,
@@ -503,7 +503,7 @@ lock("$rU");
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	<section>
+	<section id="cfgutils.f.unlock">
 		<title><function moreinfo="none">unlock(key)</function></title>
 		<title><function moreinfo="none">unlock(key)</function></title>
 		<para>
 		<para>
 		Unlock the key.
 		Unlock the key.
@@ -524,7 +524,7 @@ unlock("$rU");
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	<section>
+	<section id="cfgutils.f.check_route_exists">
 		<title><function moreinfo="none">check_route_exists(route)</function></title>
 		<title><function moreinfo="none">check_route_exists(route)</function></title>
 		<para>
 		<para>
 		Check if a route block exists
 		Check if a route block exists
@@ -548,7 +548,7 @@ if(check_route_exists("FROGJUMP") {
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	<section>
+	<section id="cfgutils.f.route_if_exists">
 		<title><function moreinfo="none">route_if_exists(route)</function></title>
 		<title><function moreinfo="none">route_if_exists(route)</function></title>
 		<para>
 		<para>
 		Execute a routing block only if it is defined. If it's not defined, silently
 		Execute a routing block only if it is defined. If it's not defined, silently
@@ -571,7 +571,7 @@ route_if_exists("PRESENCE_SANTA_CLAUS");
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	<section>
+	<section id="cfgutils.f.core_hash">
 		<title><function moreinfo="none">core_hash(string1, string2, size)</function></title>
 		<title><function moreinfo="none">core_hash(string1, string2, size)</function></title>
 		<para>
 		<para>
 		Exported function that enables the core_hash() function to be used
 		Exported function that enables the core_hash() function to be used
@@ -617,7 +617,7 @@ core_hash("$ci", "", 4);
 			should be changed as in the functions available in the routing
 			should be changed as in the functions available in the routing
 			script.
 			script.
 		</para>
 		</para>
-		<section>
+		<section id="cfgutils.m.rand_set_prob">
 			<title><function moreinfo="none">rand_set_prop</function></title>
 			<title><function moreinfo="none">rand_set_prop</function></title>
 			<para>
 			<para>
 				Set the probability value to the given parameter.
 				Set the probability value to the given parameter.
@@ -636,7 +636,7 @@ $ &ctltool; fifo rand_set_prob 10
 			</example>
 			</example>
 			
 			
 		</section>
 		</section>
-		<section>
+		<section id="cfgutils.m.rand_reset_prob">
 			<title><function moreinfo="none">rand_reset_prob</function></title>
 			<title><function moreinfo="none">rand_reset_prob</function></title>
 			<para>
 			<para>
 				Reset the probability value to the inital start value.
 				Reset the probability value to the inital start value.
@@ -654,7 +654,7 @@ $ &ctltool; fifo rand_reset_prob
 </programlisting>
 </programlisting>
 			</example>
 			</example>
 		</section>
 		</section>
-		<section>
+		<section  id="cfgutils.m.rand_get_prob">
 			<title><function moreinfo="none">rand_get_prob</function></title>
 			<title><function moreinfo="none">rand_get_prob</function></title>
 			<para>
 			<para>
 				Return the actual probability setting.
 				Return the actual probability setting.
@@ -672,7 +672,7 @@ The actual probability is 50 percent.
 </programlisting>
 </programlisting>
 			</example>
 			</example>
 		</section>
 		</section>
-		<section>
+		<section id="cfgutils.m.check_config_hash">
 			<title><function moreinfo="none">check_config_hash</function></title>
 			<title><function moreinfo="none">check_config_hash</function></title>
 			<para>
 			<para>
 				Check if the actual config file hash is identical to the stored one.
 				Check if the actual config file hash is identical to the stored one.
@@ -692,7 +692,7 @@ The actual config file hash is identical to the stored one.
 </programlisting>
 </programlisting>
 			</example>
 			</example>
 		</section>
 		</section>
-		<section>
+		<section id="cfgutils.m.get_config_hash">
 			<title><function moreinfo="none">get_config_hash</function></title>
 			<title><function moreinfo="none">get_config_hash</function></title>
 			<para>
 			<para>
 				Return the stored config file hash.
 				Return the stored config file hash.
@@ -711,7 +711,7 @@ $ &ctltool; fifo get_config_hash
 </programlisting>
 </programlisting>
 			</example>
 			</example>
 		</section>
 		</section>
-				<section>
+		<section  id="cfgutils.m.set_gflag">
 			<title><function moreinfo="none">set_gflag</function></title>
 			<title><function moreinfo="none">set_gflag</function></title>
 			<para>
 			<para>
 			Set the value of some flags (specified by bitmask) to 1.
 			Set the value of some flags (specified by bitmask) to 1.
@@ -731,7 +731,7 @@ $ &ctltool; fifo set_gflag 0x3
 			</example>
 			</example>
 
 
 		</section>
 		</section>
-		<section>
+		<section  id="cfgutils.m.reset_gflag">
 			<title><function moreinfo="none">reset_gflag</function></title>
 			<title><function moreinfo="none">reset_gflag</function></title>
 			<para>
 			<para>
 			Reset the value of some flags to 0.
 			Reset the value of some flags to 0.
@@ -751,7 +751,7 @@ $ &ctltool; fifo reset_gflag 0x3
 </programlisting>
 </programlisting>
 			</example>
 			</example>
 		</section>
 		</section>
-		<section>
+		<section  id="cfgutils.m.is_gflag">
 			<title><function moreinfo="none">is_gflag</function></title>
 			<title><function moreinfo="none">is_gflag</function></title>
 			<para>
 			<para>
 			Returns true if the all the flags from the bitmask are set.
 			Returns true if the all the flags from the bitmask are set.
@@ -786,7 +786,7 @@ TRUE
 </programlisting>
 </programlisting>
 			</example>
 			</example>
 		</section>
 		</section>
-		<section>
+		<section id="cfgutils.m.get_gflags">
 			<title><function moreinfo="none">get_gflags</function></title>
 			<title><function moreinfo="none">get_gflags</function></title>
 			<para>
 			<para>
 			Return the bitmap with all flags. The function gets no 
 			Return the bitmap with all flags. The function gets no