Browse Source

uid_domain: docs - removed trailing spaces

Daniel-Constantin Mierla 1 year ago
parent
commit
d8cbd0969a

+ 3 - 4
src/modules/uid_domain/doc/domain_api.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 
 <section id="domain.api" xmlns:xi="http://www.w3.org/2001/XInclude">
 <section id="domain.api" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -15,7 +15,7 @@
 	module then you need to include the header file
 	module then you need to include the header file
 	<filename>domain_api.h</filename> and call
 	<filename>domain_api.h</filename> and call
 	<function>load_domain_api</function> first.</para>
 	<function>load_domain_api</function> first.</para>
-	
+
 	<example>
 	<example>
 		<title>Calling <function>load_domain_api</function></title>
 		<title>Calling <function>load_domain_api</function></title>
 		<programlisting>
 		<programlisting>
@@ -32,7 +32,7 @@ if (load_domain_api(&amp;dom_api) != 0) {
 	<para>After that you can call function
 	<para>After that you can call function
 	<function>is_domain_local</function> whose pointer is stored in the
 	<function>is_domain_local</function> whose pointer is stored in the
 	initialized data structure:</para>
 	initialized data structure:</para>
-	
+
 	<programlisting>
 	<programlisting>
 str tmp = STR_STATIC_INIT("mydomain.com");
 str tmp = STR_STATIC_INIT("mydomain.com");
 
 
@@ -44,4 +44,3 @@ if (dom_api.is_domain_local(&amp;tmp) == 1) {
 	</programlisting>
 	</programlisting>
 </section>
 </section>
 
 
-		

+ 2 - 2
src/modules/uid_domain/doc/fifo.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 
 <section id="domain.fifo" xmlns:xi="http://www.w3.org/2001/XInclude">
 <section id="domain.fifo" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -24,5 +24,5 @@
 	    cache memory.
 	    cache memory.
 	</para>
 	</para>
     </section>
     </section>
-    
+
 </section>
 </section>

+ 1 - 1
src/modules/uid_domain/doc/functions.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 
 <section id="domain.functions" xmlns:xi="http://www.w3.org/2001/XInclude">
 <section id="domain.functions" xmlns:xi="http://www.w3.org/2001/XInclude">

+ 8 - 8
src/modules/uid_domain/doc/params.xml

@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 
 <section id="domain.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
 <section id="domain.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
 	<sectioninfo>
 	<sectioninfo>
 	</sectioninfo>
 	</sectioninfo>
-	
+
 	<title>Parameters</title>
 	<title>Parameters</title>
-	
+
 	<section id="domain.db_url">
 	<section id="domain.db_url">
 		<title><varname>db_url</varname> (string)</title>
 		<title><varname>db_url</varname> (string)</title>
 		<para>
 		<para>
@@ -23,14 +23,14 @@ modparam("domain", "db_url", "mysql://ser:pass@db_host/ser")
 			</programlisting>
 			</programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	
+
 	<section id="db_mode">
 	<section id="db_mode">
 		<title><varname>db_mode</varname> (integer)</title>
 		<title><varname>db_mode</varname> (integer)</title>
 		<para>
 		<para>
 			Database mode. Value 0 means non-caching, 1
 			Database mode. Value 0 means non-caching, 1
-		means caching is enabled. It 
+		means caching is enabled. It
 			is highly recommended to enable caching if you
 			is highly recommended to enable caching if you
-		want to use 
+		want to use
 			domain-level attributes.
 			domain-level attributes.
 		</para>
 		</para>
 		<para>
 		<para>
@@ -43,7 +43,7 @@ modparam("domain", "db_mode", 0)   # Do	not use caching
 			</programlisting>
 			</programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	
+
 	<section id="domain_table">
 	<section id="domain_table">
 		<title><varname>domain_table</varname> (string)</title>
 		<title><varname>domain_table</varname> (string)</title>
 		<para>
 		<para>
@@ -81,7 +81,7 @@ modparam("domain", "did_col", "did")
 			</programlisting>
 			</programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-	
+
 	<section id="domain.domain_col">
 	<section id="domain.domain_col">
 		<title><varname>domain_col</varname> (string)</title>
 		<title><varname>domain_col</varname> (string)</title>
 		<para>
 		<para>

+ 19 - 19
src/modules/uid_domain/doc/uid_domain.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 
 <book id="uid_domain" xmlns:xi="http://www.w3.org/2001/XInclude">
 <book id="uid_domain" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -40,7 +40,7 @@
 			the documentation. DID stands for "Domain IDentifier". In
 			the documentation. DID stands for "Domain IDentifier". In
 			traditional POST world the term DID has a different meaning
 			traditional POST world the term DID has a different meaning
 			though. Please be aware that this is just pure coincidence.</para>
 			though. Please be aware that this is just pure coincidence.</para>
-			
+
 			<para>All domain names that belong to one virtual domain are
 			<para>All domain names that belong to one virtual domain are
 			interchangeable. From SIP server's perspective there is no
 			interchangeable. From SIP server's perspective there is no
 			difference between them. They can be used in SIP URIs
 			difference between them. They can be used in SIP URIs
@@ -57,7 +57,7 @@
 			can use anything as long as it can be represented as string. The
 			can use anything as long as it can be represented as string. The
 			only requirement is that the identifier of each virtual domain
 			only requirement is that the identifier of each virtual domain
 			must be unique.</para>
 			must be unique.</para>
-		
+
 			<para>The following example illustrates how one virtual domain can
 			<para>The following example illustrates how one virtual domain can
 			be represented. The iptel.org domain runs a public SIP
 			be represented. The iptel.org domain runs a public SIP
 			service. The users of the service can use SIP URIs of form
 			service. The users of the service can use SIP URIs of form
@@ -79,7 +79,7 @@ iptel
   +---213.192.59.75
   +---213.192.59.75
 				</programlisting>
 				</programlisting>
 			</example>
 			</example>
-			
+
 			<para>In the example above, we chose "iptel" as the unique
 			<para>In the example above, we chose "iptel" as the unique
 			identifier for the virtual domain. This identifier is
 			identifier for the virtual domain. This identifier is
 			permanent. It never changes. Over time we may change domain names
 			permanent. It never changes. Over time we may change domain names
@@ -99,10 +99,10 @@ iptel
 +-------+-----------------+-------+
 +-------+-----------------+-------+
 | did   | domain          | flags |
 | did   | domain          | flags |
 +-------+-----------------+-------+
 +-------+-----------------+-------+
-| iptel | iptel.org       |    33 | 
-| iptel | sip.iptel.org   |    33 | 
-| iptel | proxy.iptel.org |    33 | 
-| iptel | 213.192.59.75   |    33 | 
+| iptel | iptel.org       |    33 |
+| iptel | sip.iptel.org   |    33 |
+| iptel | proxy.iptel.org |    33 |
+| iptel | 213.192.59.75   |    33 |
 +-------+-----------------+-------+
 +-------+-----------------+-------+
 				</programlisting>
 				</programlisting>
 			</example>
 			</example>
@@ -116,7 +116,7 @@ iptel
 			domain then joe will also be able to use the new domain name in
 			domain then joe will also be able to use the new domain name in
 			his SIP URI, without the need to change anything.</para>
 			his SIP URI, without the need to change anything.</para>
 		</section>
 		</section>
-		
+
 		<section>
 		<section>
 			<title>Domain-level Configuration Attributes</title>
 			<title>Domain-level Configuration Attributes</title>
 			<para>In addition to a number of domain names, each virtual domain
 			<para>In addition to a number of domain names, each virtual domain
@@ -128,7 +128,7 @@ iptel
 			different customers and each of the customers may have slightly
 			different customers and each of the customers may have slightly
 			different configuration requirements. That's how domain-level
 			different configuration requirements. That's how domain-level
 			configuration attributes were born.</para>
 			configuration attributes were born.</para>
-		
+
 			<para>Because the administrator of the SIP server seldom knows
 			<para>Because the administrator of the SIP server seldom knows
 			configuration requirements in advance, we decided to implement a
 			configuration requirements in advance, we decided to implement a
 			generic solution and store all configuration options in named
 			generic solution and store all configuration options in named
@@ -143,7 +143,7 @@ iptel
 			configured for a particular user. In other words a domain level
 			configured for a particular user. In other words a domain level
 			attribute will only be effective if no user-level attribute with
 			attribute will only be effective if no user-level attribute with
 			the same name exists.</para>
 			the same name exists.</para>
-			
+
 			<para>Domain-level attributes are stored in a separate table. The
 			<para>Domain-level attributes are stored in a separate table. The
 			name of the table is domain_attrs and it is defined as follows:
 			name of the table is domain_attrs and it is defined as follows:
 			</para>
 			</para>
@@ -154,11 +154,11 @@ iptel
 +-------+------------------+------+-----+---------+-------+
 +-------+------------------+------+-----+---------+-------+
 | Field | Type             | Null | Key | Default | Extra |
 | Field | Type             | Null | Key | Default | Extra |
 +-------+------------------+------+-----+---------+-------+
 +-------+------------------+------+-----+---------+-------+
-| did   | varchar(64)      | YES  | MUL | NULL    |       | 
-| name  | varchar(32)      | NO   |     | NULL    |       | 
-| type  | int(11)          | NO   |     | 0       |       | 
-| value | varchar(255)     | YES  |     | NULL    |       | 
-| flags | int(10) unsigned | NO   |     | 0       |       | 
+| did   | varchar(64)      | YES  | MUL | NULL    |       |
+| name  | varchar(32)      | NO   |     | NULL    |       |
+| type  | int(11)          | NO   |     | 0       |       |
+| value | varchar(255)     | YES  |     | NULL    |       |
+| flags | int(10) unsigned | NO   |     | 0       |       |
 +-------+------------------+------+-----+---------+-------+
 +-------+------------------+------+-----+---------+-------+
 				</programlisting>
 				</programlisting>
 			</example>
 			</example>
@@ -209,7 +209,7 @@ iptel
 			attributes.</para>
 			attributes.</para>
 		</section>
 		</section>
 	</section>
 	</section>
-	
+
 	<section id="uid_domain.dep">
 	<section id="uid_domain.dep">
 		<title>Dependencies</title>
 		<title>Dependencies</title>
 		<para>
 		<para>
@@ -222,7 +222,7 @@ iptel
 	    </itemizedlist>
 	    </itemizedlist>
 		</para>
 		</para>
 	</section>
 	</section>
-	
+
 	<section id="uid_domain.known_limitations">
 	<section id="uid_domain.known_limitations">
 		<title>Known Limitations</title>
 		<title>Known Limitations</title>
 		<para>
 		<para>
@@ -231,7 +231,7 @@ iptel
 			reload will delete the original table still in use by the process.
 			reload will delete the original table still in use by the process.
 		</para>
 		</para>
 	</section>
 	</section>
-	
+
 	<xi:include href="params.xml"/>
 	<xi:include href="params.xml"/>
 	<xi:include href="functions.xml"/>
 	<xi:include href="functions.xml"/>
 	<xi:include href="fifo.xml"/>
 	<xi:include href="fifo.xml"/>