Contains the functions exported by the module. More...
#include "../../sr_module.h"#include "../../mem/mem.h"#include "../../mem/shm_mem.h"#include "../../lib/kmi/mi.h"#include <sys/time.h>#include <poll.h>#include <stdlib.h>#include <unistd.h>#include <ctype.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <errno.h>
Go to the source code of this file.
Definition in file pdb.c.
| static int add_server | ( | char * | host, | |
| char * | port | |||
| ) | [static] |
Definition at line 422 of file pdb.c.
Referenced by prepare_server().

| static int avp_name_fixup | ( | void ** | param | ) | [static] |
| param | the parameter |
Definition at line 364 of file pdb.c.
References _str::len, pv_get_avp_name(), and _str::s.

| static int init_server_list | ( | void | ) | [static] |
Definition at line 521 of file pdb.c.
References prepare_server().

| static int init_server_socket | ( | void | ) | [static] |
| static int mp_fixup | ( | void ** | param | ) | [static] |
supports string, pseudo-variables and AVPs.
| param | the parameter |
Definition at line 308 of file pdb.c.
References _str::len, pv_get_avp_name(), and _str::s.

| static int pdb_query | ( | struct sip_msg * | _msg, | |
| struct multiparam_t * | _number, | |||
| struct multiparam_t * | _dstavp | |||
| ) | [static] |
| static int prepare_server | ( | void | ) | [static] |
Definition at line 460 of file pdb.c.
References add_server(), and modp_server.
Referenced by init_server_list().


char* modp_server = NULL [static] |
Definition at line 47 of file pdb.c.
Referenced by prepare_server().
1.7.1