Bläddra i källkod

ss7ops: fix the dobook markdown and properly named the sections

Daniel-Constantin Mierla 8 år sedan
förälder
incheckning
49d43d789e
1 ändrade filer med 21 tillägg och 10 borttagningar
  1. 21 10
      modules/ss7ops/doc/ss7ops_admin.xml

+ 21 - 10
modules/ss7ops/doc/ss7ops_admin.xml

@@ -35,26 +35,37 @@
 			</itemizedlist>
 		</para>
 	</section>
-	</section>
 	<section>
-	<title>Parameters</title>
-	<section id="ss7ops.p.isup_to_json">
-		<title><varname>isup_to_json</varname> (integer)</title>
+	<title>Functions</title>
+	<section id="ss7ops.f.isup_to_json">
+		<function moreinfo="none">isup_to_json(proto)</function>
+		<title><varname>isup_to_json</varname></title>
+		<para>
+		Pass the HEP protocol type as parameter (e.g. 8 for M2UA) and the
+		contained ISUP payload will be converted to a JSON string. The result
+		can be accessed using the $isup(1) variable.
+		</para>
 		<para>
-		Pass the HEP type as parameter (e.g. 8 for M2UA) and the contained
-		ISUP payload will be converted to a JSON string. It can be consumed
-		using the $isup(1) parameter.
+		<example>
+		<title><function>isup_to_json</function> usage</title>
+		<programlisting format="linespecific">
+...
+isup_to_json(8);
+...
+</programlisting>
+	    </example>
 		</para>
 	</section>
 	</section>
 	<section>
-	<title>Functions</title>
+	<title>Variables</title>
 	<section id="ss7ops.f.isup">
-		<title><varname>isup</varname> (integer)</title>
+		<title><varname>isup(id)</varname></title>
 		<para>
-		If set to 1, return the JSON representation as string for the last
+		If id is set to 1, return the JSON representation as string for the last
 		message that was parsed.
 		</para>
 	</section>
+	</section>
 
 </chapter>