parse_rpid.h File Reference

RPID header parser. More...

#include "msg_parser.h"

Include dependency graph for parse_rpid.h:

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

Go to the source code of this file.

Defines

#define get_rpid(p_msg)   ((struct to_body*)(p_msg)->rpid->parsed)

Functions

int parse_rpid_header (struct sip_msg *msg)


Detailed Description

RPID header parser.

Definition in file parse_rpid.h.


Define Documentation

#define get_rpid ( p_msg   )     ((struct to_body*)(p_msg)->rpid->parsed)

casting macro for accessing RPID body

Definition at line 36 of file parse_rpid.h.

Referenced by ospGetRpidUserpart().


Function Documentation

int parse_rpid_header ( struct sip_msg msg  ) 

This method is used to parse RPID header.

Parameters:
msg sip msg
Returns:
0 on success, -1 on failure.

Definition at line 44 of file parse_rpid.c.

References hdr_field::body, to_body::error, HDR_RPID_F, _str::len, LM_ERR, PARSE_ERROR, parse_headers(), parse_to(), hdr_field::parsed, pkg_free, pkg_malloc, sip_msg::rpid, and _str::s.

Referenced by ospGetRpidUserpart().


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