parse_to.h File Reference

To header parser. More...

#include "../str.h"
#include "msg_parser.h"

Include dependency graph for parse_to.h:

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

Go to the source code of this file.

Data Structures

struct  to_body
struct  to_param

Defines

#define get_to(p_msg)   ((struct to_body*)(p_msg)->to->parsed)

Enumerations

enum  { TAG_PARAM = 400, GENERAL_PARAM }

Functions

void destroy_to (struct to_body *tb)
void free_to (struct to_body *tb)
char * parse_to (char *buffer, char *end, struct to_body *to_b)
struct sip_uriparse_to_uri (struct sip_msg *msg)


Detailed Description

To header parser.

Definition in file parse_to.h.


Define Documentation

#define get_to ( p_msg   )     ((struct to_body*)(p_msg)->to->parsed)


Enumeration Type Documentation

anonymous enum

Enumerator:
TAG_PARAM 
GENERAL_PARAM 

Definition at line 35 of file parse_to.h.


Function Documentation

void destroy_to ( struct to_body tb  ) 

Definition at line 92 of file parse_to.c.

References free_to_params().

void free_to ( struct to_body tb  ) 

Definition at line 86 of file parse_to.c.

References free_to_params(), and pkg_free.

Referenced by clean_hdr_field().

char* parse_to ( char *  buffer,
char *  end,
struct to_body to_b 
)

struct sip_uri* parse_to_uri ( struct sip_msg msg  )  [read]


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