From b58ac929a08d89ba950c062befa1816680118a9f Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Mon, 13 Nov 2023 15:36:04 +0100 Subject: [PATCH] cfg_db: docs - removed trailing spaces --- src/modules/cfg_db/doc/cfg_db.xml | 16 ++++++++-------- src/modules/cfg_db/doc/cfg_db_params.xml | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/modules/cfg_db/doc/cfg_db.xml b/src/modules/cfg_db/doc/cfg_db.xml index d907878d14b..22e3b1a99aa 100644 --- a/src/modules/cfg_db/doc/cfg_db.xml +++ b/src/modules/cfg_db/doc/cfg_db.xml @@ -42,8 +42,8 @@ A parameter is uniquely identified by a group_name plus a name, which is used by the driver to check if a value can be found. - Because configuration parameters may be spread in many tables, a translation table - is used to indicate where to start searching. Multiple look-up tables may be + Because configuration parameters may be spread in many tables, a translation table + is used to indicate where to start searching. Multiple look-up tables may be defined for single parameter, tables are searched in the first round by exact match until parameter is found, all tables listed with wildcard (asterisk) in group name are searched in the second round. If a parameter is not found then its value is left unchanged. @@ -63,7 +63,7 @@
Dependencies - + A loaded database module. @@ -85,27 +85,27 @@ my|use_rtp_proxy|cfg_my|my_group_name|my_name|my_value *|*|||| ; matches all param ids, points to tables defined in row <default> <default>||cfg_var|group_name|name|value ; default cfg_table* values - + cfg_custom table: group_name|name|value_type|min_value|max_value|description my|route_addr|S|||Routing address my|use_rtp_proxy|I|0|1|Use RTP proxy - + cfg_var table: group_name|my_name|value core|debug|4 - + cfg_my table: my_group_name|my_name|my_value my|route_addr|127.0.0.1 my|use_rtp_proxy|1 - + cfg_dns table: group_name|name|value dns|use_dst_blocklist|1 dns|dst_blocklist_mem|1024 dns|dst_blocklist_expire|60 - + diff --git a/src/modules/cfg_db/doc/cfg_db_params.xml b/src/modules/cfg_db/doc/cfg_db_params.xml index e6f15b4eb2d..6550300e95c 100644 --- a/src/modules/cfg_db/doc/cfg_db_params.xml +++ b/src/modules/cfg_db/doc/cfg_db_params.xml @@ -14,7 +14,7 @@
<varname>db_url</varname> (string) - Default database URL. + Default database URL. The format is: @@ -46,15 +46,15 @@ modparam("cfg_db", "db_url", "mysql://&ser;:123@127.0.0.1:12345/&ser;"); The other keyword is asterisk * which matches all parameters and will be used if parameter is not explicitly mentioned. - +
<varname>custom_tbl</varname> (string) := "cfg_custom" Name of table used for extra param declaration (group_name, name, type, min/max value, description). - -
+ +