USRLOC - Usrloc module interface
#include <stdio.h>#include "p_usrloc_mod.h"#include "../../sr_module.h"#include "../../dprint.h"#include "../../rpc_lookup.h"#include "../../timer_proc.h"#include "../../globals.h"#include "../../ut.h"#include "udomain.h"#include "urecord.h"#include "ucontact.h"#include "ul_mi.h"#include "../usrloc/ul_callback.h"#include "ul_db_api.h"#include "ul_db_watch.h"#include "ul_check.h"#include "ul_db.h"#include "ul_db_layer.h"#include "dlist.h"
Go to the source code of this file.
Definition in file p_usrloc_mod.c.
| int bind_usrloc | ( | usrloc_api_t * | api | ) |
| api | usrloc API |
Definition at line 55 of file modules_k/p_usrloc/usrloc.c.
Referenced by mod_init().

params [static] |
defines the parameters which can be set in the openser config file is stored.
Only used when
| write_db_url | Url to the database where the key and database information is stored and where errors are reported to. Only used when |
| read_db_url | Url to the database where the key and database information is stored. | |
| reg_db_table | the name of the table containing the information about the partitioned databases. | |
| id_column | name of the column containing the id mapping to a key. | |
| num_column | name of the column containing the number of the entry. | |
| url_column | name of the column containing the URL to the database. | |
| status_column | name of the column containing the status of the database. (1=ON, 2=OFF) | |
| failover_time_column | name of the column containing the time whem the database's status changed or a spare has been activated. | |
| spare_flag_column | name of the column containing the information if an entry works as spare for broken dbs (0=no spare, 1=spare) | |
| error_column | name of the column containing the errors which occured on the database. | |
| risk_group_column | name of the column containing the databases risk group Only used when spare databases are used. | |
| expire_time | specifies the expire time of contacts | |
| db_err_threshold | specifies the amount of errors when at which a db gets deactivated | |
| failover_level | defines if the module shall search for spares or just turnoff a broken db | |
| db_retry_interval | defines in which intervals the module shall try to reconnect to a deactivated database | |
| write_on_db | defines if the module has write access on the databases or not | |
| alg_location | defines the algorithm for the location matching - based on crc32 for now |
Definition at line 209 of file p_usrloc_mod.c.
| int use_domain = 0 |
Should does_uri_exist honor the domain part ?
Use domain in is_user_in.
Definition at line 154 of file p_usrloc_mod.c.
1.7.1