#include <string.h>#include "../../mem/mem.h"#include "../../dprint.h"#include "../../trim.h"#include "contact.h"

Go to the source code of this file.
Defines | |
| #define | ST1 1 |
| #define | ST2 2 |
| #define | ST3 3 |
| #define | ST4 4 |
| #define | ST5 5 |
| #define | ST6 6 |
Functions | |
| void | free_contacts (contact_t **_c) |
| int | parse_contacts (str *_s, contact_t **_c) |
| void | print_contacts (FILE *_o, contact_t *_c) |
| static int | skip_name (str *_s) |
| static int | skip_uri (str *_s) |
| #define ST1 1 |
| #define ST2 2 |
| #define ST3 3 |
| #define ST4 4 |
| #define ST5 5 |
| #define ST6 6 |
| void free_contacts | ( | contact_t ** | _c | ) |
Definition at line 281 of file contact.c.
References free_params(), contact::next, contact::params, and pkg_free.
Referenced by free_contact(), and parse_contacts().
Definition at line 182 of file contact.c.
References CLASS_CONTACT, param_hooks::contact, contact_hooks::expires, contact::expires, free_contacts(), contact::len, _str::len, LM_ERR, contact_hooks::methods, contact::methods, contact::name, contact::next, contact::params, parse_params(), pkg_free, pkg_malloc, contact_hooks::q, contact::q, contact_hooks::received, contact::received, _str::s, skip_name(), skip_uri(), trim(), trim_leading(), trim_trailing(), and contact::uri.
Referenced by contact_parser().
| void print_contacts | ( | FILE * | _o, | |
| contact_t * | _c | |||
| ) |
Definition at line 299 of file contact.c.
References contact::expires, contact::len, _str::len, contact::methods, contact::name, contact::next, contact::params, print_params(), contact::q, contact::received, _str::s, and contact::uri.
Referenced by print_contact().
| static int skip_name | ( | str * | _s | ) | [inline, static] |
| static int skip_uri | ( | str * | _s | ) | [inline, static] |
1.5.6