Skip to content

Commit

Permalink
p_usrloc: removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent 82a9932 commit f2c035a
Show file tree
Hide file tree
Showing 46 changed files with 113 additions and 113 deletions.
2 changes: 1 addition & 1 deletion src/modules/p_usrloc/config.c
Expand Up @@ -19,7 +19,7 @@
*/

/*!
* \file
* \file
* \brief P_USRLOC :: Configuration
* \ingroup usrloc
*/
Expand Down
6 changes: 3 additions & 3 deletions src/modules/p_usrloc/config.h
Expand Up @@ -6,13 +6,13 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/*!
* \file
* \file
* \brief P_USRLOC :: Configuration
* \ingroup usrloc
*/
Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/dlist.c
Expand Up @@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/dlist.h
Expand Up @@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/hslot.c
Expand Up @@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/hslot.h
Expand Up @@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
20 changes: 10 additions & 10 deletions src/modules/p_usrloc/p_usrloc_mod.c
Expand Up @@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
Expand Down Expand Up @@ -96,31 +96,31 @@ extern int ul_locks_no;
* @var params
* defines the parameters which can be set in the Kamailio config file
* is stored. Only used when @see use_domain is set to 1
* @param write_db_url Url to the database where the key and database information is
* @param write_db_url Url to the database where the key and database information is
* stored and where errors are reported to. Only used when @see write_on_db is active.
* @param read_db_url Url to the database where the key and database information is
* @param read_db_url Url to the database where the key and database information is
* stored.
* @param reg_db_table the name of the table containing the information about the
* @param reg_db_table the name of the table containing the information about the
* partitioned databases.
* @param id_column name of the column containing the id mapping to a key.
* @param num_column name of the column containing the number of the entry.
* @param url_column name of the column containing the URL to the database.
* @param status_column name of the column containing the status of the database.
* @param status_column name of the column containing the status of the database.
* (1=ON, 2=OFF)
* @param failover_time_column name of the column containing the time when the
* database's status changed or a spare has been activated.
* @param spare_flag_column name of the column containing the information if an entry
* works as spare for broken dbs (0=no spare, 1=spare)
* @param error_column name of the column containing the errors which occurred on
* @param error_column name of the column containing the errors which occurred on
* the database.
* @param risk_group_column name of the column containing the databases risk group
* Only used when spare databases are used.
* @param expire_time specifies the expire time of contacts
* @param db_err_threshold specifies the amount of errors when at which a db
* @param db_err_threshold specifies the amount of errors when at which a db
* gets deactivated
* @param failover_level defines if the module shall search for spares or just
* turnoff a broken db
* @param db_retry_interval defines in which intervals the module shall try to
* @param db_retry_interval defines in which intervals the module shall try to
* reconnect to a deactivated database
* @param write_on_db defines if the module has write access on the databases or not
* @param alg_location defines the algorithm for the location matching - based on crc32 for now
Expand Down Expand Up @@ -213,7 +213,7 @@ static cmd_export_t cmds[] = {


/*! \brief
* Exported parameters
* Exported parameters
*/
static param_export_t params[] = {{"ruid_column", PARAM_STR, &ruid_col},
{"user_column", PARAM_STR, &user_col},
Expand Down
18 changes: 9 additions & 9 deletions src/modules/p_usrloc/ucontact.c
Expand Up @@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
Expand Down Expand Up @@ -263,7 +263,7 @@ int mem_update_ucontact(ucontact_t *_c, ucontact_info_t *_ci)
update_str(&_c->callid, _ci->callid);
}

/* No need to update Callid as it is constant
/* No need to update Callid as it is constant
* per ucontact (set at insert time) -bogdan */

update_str(&_c->user_agent, _ci->user_agent);
Expand Down Expand Up @@ -316,9 +316,9 @@ void st_update_ucontact(ucontact_t *_c)
break;

case CS_SYNC:
/* For db mode 1 & 2 a modified contact needs to be
* updated also in the database, so transit into
* CS_DIRTY and let the timer to do the update
/* For db mode 1 & 2 a modified contact needs to be
* updated also in the database, so transit into
* CS_DIRTY and let the timer to do the update
* again. For db mode 1 we try to update right
* now and if fails, let the timer to do the job
*/
Expand Down Expand Up @@ -354,10 +354,10 @@ int st_delete_ucontact(ucontact_t *_c)
case CS_SYNC:
case CS_DIRTY:
/* Contact is in the database,
* we cannot remove it from the memory
* we cannot remove it from the memory
* directly, but we can set expires to zero
* and the timer will take care of deleting
* the contact from the memory as well as
* and the timer will take care of deleting
* the contact from the memory as well as
* from the database
*/
if(db_mode == WRITE_BACK) {
Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ucontact.h
Expand Up @@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
Expand Down
6 changes: 3 additions & 3 deletions src/modules/p_usrloc/udomain.c
Expand Up @@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
Expand Down Expand Up @@ -214,7 +214,7 @@ void print_udomain(FILE *_f, udomain_t *_d)
/*!
* \brief Convert database values into ucontact_info
*
* Convert database values into ucontact_info,
* Convert database values into ucontact_info,
* expects 12 rows (contact, expires, q, callid, cseq, flags,
* ua, received, path, socket, methods, last_modified)
* \param vals database values
Expand Down
6 changes: 3 additions & 3 deletions src/modules/p_usrloc/ul_callback.c
Expand Up @@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
Expand Down Expand Up @@ -71,7 +71,7 @@ void destroy_ulcb_list(void)
}


/*! \brief
/*! \brief
register a callback function 'f' for 'types' mask of events;
*/
int register_ulcb(int types, ul_cb f, void *param)
Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_check.c
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_check.h
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db.c
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db.h
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_api.c
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_api.h
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_del.c
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_del.h
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_failover.c
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_failover.h
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_failover_func.c
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_failover_func.h
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_form_query.c
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_form_query.h
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/p_usrloc/ul_db_handle.c
Expand Up @@ -14,8 +14,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down

0 comments on commit f2c035a

Please sign in to comment.