#include "../../str.h"


Go to the source code of this file.
Functions | |
| int | child_init_callid (int rank) |
| Child initialization -- generates suffix. | |
| void | generate_callid (str *callid) |
| Get a unique Call-ID. | |
| int | init_callid (void) |
| Initialize the Call-ID generator -- generates random prefix. | |
Definition in file callid.h.
| int child_init_callid | ( | int | rank | ) |
Child initialization -- generates suffix.
Definition at line 111 of file callid.c.
References socket_info::address_str, bind_address, callid_buf, CALLID_SUFFIX_LEN, CID_SEP, get_first_socket(), _str::len, LM_CRIT, LM_DBG, LM_ERR, my_pid(), _str::s, and snprintf.
Referenced by child_init().
| void generate_callid | ( | str * | callid | ) |
Get a unique Call-ID.
Definition at line 162 of file callid.c.
References inc_hexchar(), _str::len, and _str::s.
Referenced by mi_tm_uac_dlg(), req_outside(), and request().
| int init_callid | ( | void | ) |
Initialize the Call-ID generator -- generates random prefix.
Definition at line 71 of file callid.c.
References callid_buf, callid_nr, CALLID_NR_LEN, _str::len, LM_CRIT, LM_DBG, LM_ERR, _str::s, and snprintf.
Referenced by mod_init().
1.5.6