[sr-dev] git:master: textops: ids to sections in documentation

Victor Seva linuxmaniac at torreviejawireless.org
Sun Mar 16 09:40:54 CET 2014


Module: sip-router
Branch: master
Commit: 1c455988cdbd7a763dc74f9ec49612009f9a5a3b
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1c455988cdbd7a763dc74f9ec49612009f9a5a3b

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   Sun Mar 16 09:39:56 2014 +0100

textops: ids to sections in documentation

---

 modules/textops/doc/textops_admin.xml |   76 ++++++++++++++++----------------
 1 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/modules/textops/doc/textops_admin.xml b/modules/textops/doc/textops_admin.xml
index 07caee9..a5e27bf 100644
--- a/modules/textops/doc/textops_admin.xml
+++ b/modules/textops/doc/textops_admin.xml
@@ -71,7 +71,7 @@ From: medabeda
 
 	<section>
 	<title>Functions</title>
-	<section>
+	<section id="textops.f.search">
 		<title>
 		<function moreinfo="none">search(re)</function>
 		</title>
@@ -99,7 +99,7 @@ if ( search("[Ss][Ii][Pp]") ) { /*....*/ };
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.search_body">
 		<title>
 		<function moreinfo="none">search_body(re)</function>
 		</title>
@@ -127,7 +127,7 @@ if ( search_body("[Ss][Ii][Pp]") ) { /*....*/ };
 		</example>
 	</section>
 
-		<section>
+		<section id="textops.f.search_hf">
 		<title>
 		<function moreinfo="none">search_hf(hf, re, flags)</function>
 		</title>
@@ -166,7 +166,7 @@ if ( search_hf("From", ":test@", "a") ) { /*....*/ };
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.search_append">
 		<title>
 		<function moreinfo="none">search_append(re, txt)</function>
 		</title>
@@ -198,7 +198,7 @@ search_append("[Oo]pen[Ss]er", " SIP Proxy");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.search_append_body">
 		<title>
 		<function moreinfo="none">search_append_body(re, txt)</function>
 		</title>
@@ -231,7 +231,7 @@ search_append_body("[Oo]pen[Ss]er", " SIP Proxy");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.replace">
 		<title>
 		<function moreinfo="none">replace(re, txt)</function>
 		</title>
@@ -263,7 +263,7 @@ replace("openser", "&kamailio; SIP Proxy");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.replace_body">
 		<title>
 		<function moreinfo="none">replace_body(re, txt)</function>
 		</title>
@@ -296,7 +296,7 @@ replace_body("openser", "&kamailio; SIP Proxy");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.replace_all">
 		<title>
 		<function moreinfo="none">replace_all(re, txt)</function>
 		</title>
@@ -328,7 +328,7 @@ replace_all("openser", "&kamailio; SIP Proxy");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.replace_body_all">
 		<title>
 		<function moreinfo="none">replace_body_all(re, txt)</function>
 		</title>
@@ -361,7 +361,7 @@ replace_body_all("openser", "&kamailio; SIP Proxy");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.replace_body_atonce">
 		<title>
 		<function moreinfo="none">replace_body_atonce(re, txt)</function>
 		</title>
@@ -396,7 +396,7 @@ if(has_body() && replace_body_atonce("^.+$", ""))
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.subst">
 		<title>
 		<function moreinfo="none">subst('/re/repl/flags')</function>
 		</title>
@@ -440,7 +440,7 @@ if ( subst('/^To:(.*)sip:[^@]*@[a-zA-Z0-9.]+(.*)$/t:\1$avp(sip_address)\2/ig') )
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.subst_uri">
 		<title>
 		<function moreinfo="none">subst_uri('/re/repl/flags')</function>
 		</title>
@@ -487,7 +487,7 @@ if (subst_uri('/^sip:([0-9]+)@(.*)$/sip:$avp(uri_prefix)\1@\2;orig_uri=\0/i')){$
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.subst_user">
 		<title>
 		<function moreinfo="none">subst_user('/re/repl/flags')</function>
 		</title>
@@ -533,7 +533,7 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.subst_body">
 		<title>
 		<function moreinfo="none">subst_body('/re/repl/flags')</function>
 		</title>
@@ -573,7 +573,7 @@ if ( subst_body('/^o=(.*) /o=$fU /') ) {};
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.subst_hf">
 		<title>
 		<function moreinfo="none">subst_hf(hf, subexp, flags)</function>
 		</title>
@@ -613,7 +613,7 @@ if ( subst_hf("From", "/:test@/:best@/", "a") ) { /*....*/ };
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.set_body">
 		<title>
 		<function moreinfo="none">set_body(txt,content_type)</function>
 		</title>
@@ -647,7 +647,7 @@ set_body("test", "text/plain");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.set_reply_body">
 		<title>
 		<function moreinfo="none">set_reply_body(txt,content_type)</function>
 		</title>
@@ -680,7 +680,7 @@ set_reply_body("test", "text/plain");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.filter_body">
 		<title>
 		<function moreinfo="none">filter_body(content_type)</function>
 		</title>
@@ -717,7 +717,7 @@ if (has_body("multipart/mixed")) {
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.append_to_reply">
 		<title>
 		<function moreinfo="none">append_to_reply(txt)</function>
 		</title>
@@ -747,7 +747,7 @@ append_to_reply("Foo: $rm at $Ts\r\n");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.append_hf">
 		<title>
 		<function moreinfo="none">append_hf(txt)</function>
 		</title>
@@ -784,7 +784,7 @@ append_hf("From-username: $fU\r\n");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.append_hf">
 		<title>
 		<function moreinfo="none">append_hf(txt, hdr)</function>
 		</title>
@@ -820,7 +820,7 @@ append_hf("From-username: $fU\r\n", "Call-ID");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.insert_hf">
 		<title>
 		<function moreinfo="none">insert_hf(txt)</function>
 		</title>
@@ -852,7 +852,7 @@ insert_hf("To-username: $tU\r\n");
 	</section>
 
 
-	<section>
+	<section id="textops.f.insert_hf">
 		<title>
 		<function moreinfo="none">insert_hf(txt, hdr)</function>
 		</title>
@@ -888,7 +888,7 @@ insert_hf("To-username: $tU\r\n", "Call-ID");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.append_urihf">
 		<title>
 		<function moreinfo="none">append_urihf(prefix, suffix)</function>
 		</title>
@@ -923,7 +923,7 @@ append_urihf("CC-Diversion: ", "\r\n");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.is_present_hf">
 		<title>
 		<function moreinfo="none">is_present_hf(hf_name)</function>
 		</title>
@@ -958,7 +958,7 @@ if (is_present_hf("From")) log(1, "From HF Present");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.is_present_hf_re">
 		<title>
 		<function moreinfo="none">is_present_hf_re(hf_name_re)</function>
 		</title>
@@ -988,7 +988,7 @@ if (is_present_hf_re("^P-")) log(1, "There are headers starting with P-\n");
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.append_time">
 		<title>
 		<function moreinfo="none">append_time()</function>
 		</title>
@@ -1045,7 +1045,7 @@ append_time();
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.append_time_to_request">
 		<title>
 		<function moreinfo="none">append_time_to_request()</function>
 		</title>
@@ -1101,7 +1101,7 @@ if(!is_present_hf("Date"))
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.is_method">
 		<title>
 		<function moreinfo="none">is_method(name)</function>
 		</title>
@@ -1154,7 +1154,7 @@ if(is_method("OPTION|UPDATE"))
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.remove_hf">
 		<title>
 		<function moreinfo="none">remove_hf(hname)</function>
 		</title>
@@ -1194,7 +1194,7 @@ remove_hf("m")
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.remove_hf_re">
 		<title>
 		<function moreinfo="none">remove_hf_re(re)</function>
 		</title>
@@ -1230,7 +1230,7 @@ if(remove_hf_re("^P-"))
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.has_body">
 		<title>
 		<function moreinfo="none">has_body()</function>,
 		<function moreinfo="none">has_body(mime)</function>
@@ -1270,7 +1270,7 @@ if(has_body("application/sdp"))
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.is_audio_on_hold">
 		<title>
 		<function moreinfo="none">is_audio_on_hold()</function>
 		</title>
@@ -1295,7 +1295,7 @@ if(is_audio_on_hold())
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.is_privacy">
 		<title>
 		<function moreinfo="none">is_privacy(privacy_type)</function>
 		</title>
@@ -1324,7 +1324,7 @@ if(is_privacy("id"))
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.in_list">
 		<title>
 			<function moreinfo="none">in_list(subject, list, separator)</function>
 		</title>
@@ -1348,7 +1348,7 @@ if (in_list("$var(subject)", "$var(list)", ",") {
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.cmp_str">
 		<title>
 		<function moreinfo="none">cmp_str(str1, str2)</function>
 		</title>
@@ -1373,7 +1373,7 @@ if(cmp_str("$rU", "kamailio"))
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.cmp_istr">
 		<title>
 		<function moreinfo="none">cmp_istr(str1, str2)</function>
 		</title>
@@ -1398,7 +1398,7 @@ if(cmp_istr("$rU at you", "kamailio at YOU"))
 		</example>
 	</section>
 
-	<section>
+	<section id="textops.f.starts_with">
 		<title>
 		<function moreinfo="none">starts_with(str1, str2)</function>
 		</title>




More information about the sr-dev mailing list