contact_ops.h File Reference

#include "../../parser/msg_parser.h"

Include dependency graph for contact_ops.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  uri_format

Defines

#define DECODE_ALL_CONTACTS   1
#define DEFAULT_SEPARATOR   "*"
#define ENCODE_ALL_CONTACTS   1

Typedefs

typedef struct uri_format contact_fields_t

Functions

int decode2format (str uri, char separator, struct uri_format *format)
int decode_contact (struct sip_msg *msg, char *unused1, char *unused2)
int decode_contact_header (struct sip_msg *msg, char *unused1, char *unused2)
int decode_uri (str uri, char separator, str *result)
int encode2format (str uri, struct uri_format *format)
int encode_contact (struct sip_msg *msg, char *encoding_prefix, char *public_ip)
int encode_uri (str uri, char *encoding_prefix, char *public_ip, char separator, str *result)

Variables

char * contact_flds_separator


Define Documentation

#define DECODE_ALL_CONTACTS   1

Definition at line 41 of file contact_ops.h.

#define DEFAULT_SEPARATOR   "*"

Definition at line 43 of file contact_ops.h.

Referenced by decode_contact(), decode_contact_header(), and encode_contact().

#define ENCODE_ALL_CONTACTS   1

Definition at line 40 of file contact_ops.h.


Typedef Documentation

typedef struct uri_format contact_fields_t

Definition at line 60 of file contact_ops.h.


Function Documentation

int decode2format ( str  uri,
char  separator,
struct uri_format format 
)

int decode_contact ( struct sip_msg msg,
char *  unused1,
char *  unused2 
)

int decode_contact_header ( struct sip_msg msg,
char *  unused1,
char *  unused2 
)

int decode_uri ( str  uri,
char  separator,
str result 
)

int encode2format ( str  uri,
struct uri_format format 
)

int encode_contact ( struct sip_msg msg,
char *  encoding_prefix,
char *  public_ip 
)

int encode_uri ( str  uri,
char *  encoding_prefix,
char *  public_ip,
char  separator,
str result 
)


Variable Documentation

Definition at line 46 of file contact_ops.h.

Referenced by decode_contact(), decode_contact_header(), and encode_contact().


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