USRLOC - Usrloc contact structure.
More...
#include <stdio.h>
#include <time.h>
#include "../../qvalue.h"
#include "../../str.h"
#include "../usrloc/usrloc.h"
Go to the source code of this file.
Defines
-
#define UL_EXPIRED_TIME 10
- ancient time used for marking the contacts forced to expired
Functions
Detailed Description
Definition in file modules_k/p_usrloc/ucontact.h.
Function Documentation
- Parameters:
-
| _c | contact |
| _ci | contact informations |
- Returns:
- 0
- Parameters:
-
| _c | contact |
| _ci | contact informations |
- Returns:
- 0 on success, -1 on failure
Definition at line 184 of file modules_k/p_usrloc/ucontact.c.
- Parameters:
-
| _dom | domain |
| _aor | address of record |
| _contact | contact string |
| _ci | contact informations |
- Returns:
- new created contact on success, 0 on failure
Definition at line 59 of file modules_k/p_usrloc/ucontact.c.
| void print_ucontact |
( |
FILE * |
_f, |
|
|
ucontact_t * |
_c | |
|
) |
| | |
- Parameters:
-
| _r | record the contact belongs to |
| _c | updated contact |
| _ci | new contact informations |
- Returns:
- 0 on success, -1 on failure
Definition at line 811 of file modules_k/p_usrloc/ucontact.c.