parse_via.h File Reference

VIA parsing automaton. More...

#include "../str.h"

Include dependency graph for parse_via.h:

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

Go to the source code of this file.

Data Structures

struct  via_body
struct  via_param

Enumerations

enum  {
  PARAM_HIDDEN = 230, PARAM_TTL, PARAM_BRANCH, PARAM_MADDR,
  PARAM_RECEIVED, PARAM_RPORT, PARAM_I, PARAM_ALIAS,
  GEN_PARAM, PARAM_ERROR
}

Functions

void free_via_list (struct via_body *vb)
char * parse_via (char *buffer, char *end, struct via_body *vb)


Detailed Description

VIA parsing automaton.

Definition in file parse_via.h.


Enumeration Type Documentation

anonymous enum

via param types

Warning:
WARNING: keep in sync with parse_via.c FIN_HIDDEN and with tm/sip_msg.c via_body_cloner
Enumerator:
PARAM_HIDDEN 
PARAM_TTL 
PARAM_BRANCH 
PARAM_MADDR 
PARAM_RECEIVED 
PARAM_RPORT 
PARAM_I 
PARAM_ALIAS 
GEN_PARAM 
PARAM_ERROR 

Definition at line 47 of file parse_via.h.


Function Documentation

void free_via_list ( struct via_body vb  ) 

Free allocated memory

Definition at line 1969 of file parse_via.c.

References free_via_param_list(), via_body::next, via_body::param_lst, and pkg_free.

Referenced by clean_hdr_field(), encode_header(), get_hdr_field(), and via_diff().

char* parse_via ( char *  buffer,
char *  end,
struct via_body vbody 
)


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