parse_contact.c File Reference

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

Include dependency graph for parse_contact.c:

Go to the source code of this file.

Functions

int contact_iterator (contact_t **c, struct sip_msg *msg, contact_t *prev)
static int contact_parser (char *_s, int _l, contact_body_t *_c)
void free_contact (contact_body_t **_c)
int parse_contact (struct hdr_field *_h)
void print_contact (FILE *_o, contact_body_t *_c)


Function Documentation

int contact_iterator ( contact_t **  c,
struct sip_msg msg,
contact_t prev 
)

static int contact_parser ( char *  _s,
int  _l,
contact_body_t _c 
) [inline, static]

void free_contact ( contact_body_t **  _c  ) 

Definition at line 98 of file parse_contact.c.

References free_contacts(), and pkg_free.

Referenced by clean_hdr_field(), and shmcontact2dset().

int parse_contact ( struct hdr_field _h  ) 

void print_contact ( FILE *  _o,
contact_body_t _c 
)

Definition at line 112 of file parse_contact.c.

References contact_body::contacts, print_contacts(), and contact_body::star.


Generated on Thu May 24 00:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6