Commit ba81dd31 authored by Pekka Pessi's avatar Pekka Pessi

sdp_parser_home

Added sdp_parser_home()

darcs-hash:20050907220331-65a35-ee1bcc2268784dfaa507615082d2233464aed20a.gz
parent d18ef8be
......@@ -446,6 +446,8 @@ void sdp_parser_free(sdp_parser_t *p);
int sdp_sanity_check(sdp_parser_t *);
su_home_t *sdp_parser_home(sdp_parser_t *);
/* ======================================================================== */
/** SDP printer handle */
......
......@@ -138,6 +138,16 @@ sdp_parse(su_home_t *home, char const msg[], int msgsize, int flags)
return (sdp_parser_t*)&no_mem_error;
}
/** Obtain memory home used by parser */
su_home_t *sdp_parser_home(sdp_parser_t *parser)
{
if (parser != &no_mem_error)
return parser->pr_home;
else
return NULL;
}
/** Retrieve an SDP session structure.
*
* The function sdp_session() returns a pointer to the SDP session
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment