contact.c File Reference

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

Include dependency graph for contact.c:

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 Documentation

#define ST1   1

Definition at line 36 of file contact.c.

Referenced by skip_uri().

#define ST2   2

Definition at line 37 of file contact.c.

Referenced by skip_uri().

#define ST3   3

Definition at line 38 of file contact.c.

Referenced by skip_uri().

#define ST4   4

Definition at line 39 of file contact.c.

Referenced by skip_uri().

#define ST5   5

Definition at line 40 of file contact.c.

Referenced by skip_uri().

#define ST6   6

Definition at line 41 of file contact.c.

Referenced by skip_uri().


Function Documentation

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().

int parse_contacts ( str _s,
contact_t **  _c 
)

void print_contacts ( FILE *  _o,
contact_t _c 
)

static int skip_name ( str _s  )  [inline, static]

Definition at line 125 of file contact.c.

References _str::len, LM_ERR, and _str::s.

Referenced by parse_contacts().

static int skip_uri ( str _s  )  [inline, static]

Definition at line 48 of file contact.c.

References _str::len, LM_ERR, _str::s, ST1, ST2, ST3, ST4, ST5, and ST6.

Referenced by parse_contacts().


Generated on Mon May 21 18:00:37 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6