TM :: Fast Call-ID generator. More...
#include <stdio.h>#include <stdlib.h>#include "../../dprint.h"#include "../../pt.h"#include "../../socket_info.h"#include "callid.h"
Go to the source code of this file.
Fast Call-ID generator. The Call-ID has the following form: <callid_nr>-<pid>@<ip>
Definition in file callid.c.
| int child_init_callid | ( | int | rank | ) |
| rank | not used |
Definition at line 115 of file callid.c.
References CALLID_SUFFIX_LEN, _str::len, and _str::s.
| void generate_callid | ( | str * | callid | ) |
| callid | returned Call-ID |
Definition at line 168 of file callid.c.
References inc_hexchar(), _str::len, and _str::s.

| static int inc_hexchar | ( | char * | _c | ) | [inline, static] |
| _c | input character |
Definition at line 147 of file callid.c.
Referenced by generate_callid().

| int init_callid | ( | void | ) |
Definition at line 72 of file callid.c.
References CALLID_NR_LEN, _str::len, and _str::s.
1.7.1