sdp_message.c File Reference

SDP accessor and parser related API in oSIP library. More...

#include <stdio.h>
#include <stdlib.h>
#include "osip_const.h"
#include "sdp_message.h"
#include "osip_port.h"

Include dependency graph for sdp_message.c:

Go to the source code of this file.

Defines

#define ERR_ERROR   -1
#define ERR_DISCARD   0
#define WF   1

Functions

static int sdp_message_parse_v (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_o (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_s (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_i (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_u (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_e (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_p (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_c (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_b (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_t (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_r (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_z (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_k (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_a (sdp_message_t *sdp, char *buf, char **next)
static int sdp_message_parse_m (sdp_message_t *sdp, char *buf, char **next)
static int sdp_append_media (char *string, int size, char *tmp, sdp_media_t *media, char **next_tmp)
static int sdp_append_attribute (char *string, int size, char *tmp, sdp_attribute_t *attribute, char **next_tmp)
static int sdp_append_key (char *string, int size, char *tmp, sdp_key_t *key, char **next_tmp)
static int sdp_append_time_descr (char *string, int size, char *tmp, sdp_time_descr_t *time_descr, char **next_tmp)
static int sdp_append_bandwidth (char *string, int size, char *tmp, sdp_bandwidth_t *bandwidth, char **next_tmp)
static int sdp_append_connection (char *string, int size, char *tmp, sdp_connection_t *conn, char **next_tmp)
int sdp_bandwidth_init (sdp_bandwidth_t **b)
void sdp_bandwidth_free (sdp_bandwidth_t *b)
int sdp_time_descr_init (sdp_time_descr_t **td)
void sdp_time_descr_free (sdp_time_descr_t *td)
int sdp_key_init (sdp_key_t **key)
void sdp_key_free (sdp_key_t *key)
int sdp_attribute_init (sdp_attribute_t **attribute)
void sdp_attribute_free (sdp_attribute_t *attribute)
int sdp_connection_init (sdp_connection_t **connection)
void sdp_connection_free (sdp_connection_t *connection)
int sdp_media_init (sdp_media_t **media)
void sdp_media_free (sdp_media_t *media)
int sdp_message_init (sdp_message_t **sdp)
int sdp_message_parse (sdp_message_t *sdp, const char *buf)
int sdp_message_to_str (sdp_message_t *sdp, char **dest)
void sdp_message_free (sdp_message_t *sdp)
int sdp_message_clone (sdp_message_t *sdp, sdp_message_t **dest)


Detailed Description

SDP accessor and parser related API in oSIP library.

Author
peltotal
Date
2007/02/06 10:21:12
Revision
1.3

The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-) Copyright (C) 2001,2002,2003,2004 Aymeric MOIZARD jack@atosc.org

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file sdp_message.c.


Define Documentation

#define ERR_DISCARD   0

Definition at line 31 of file sdp_message.c.

Referenced by sdp_message_parse(), sdp_message_parse_a(), sdp_message_parse_b(), sdp_message_parse_c(), sdp_message_parse_e(), sdp_message_parse_i(), sdp_message_parse_k(), sdp_message_parse_m(), sdp_message_parse_o(), sdp_message_parse_p(), sdp_message_parse_r(), sdp_message_parse_s(), sdp_message_parse_t(), sdp_message_parse_u(), sdp_message_parse_v(), and sdp_message_parse_z().

#define ERR_ERROR   -1

Definition at line 30 of file sdp_message.c.

Referenced by sdp_message_parse_a(), sdp_message_parse_b(), sdp_message_parse_c(), sdp_message_parse_e(), sdp_message_parse_i(), sdp_message_parse_k(), sdp_message_parse_m(), sdp_message_parse_o(), sdp_message_parse_p(), sdp_message_parse_r(), sdp_message_parse_s(), sdp_message_parse_t(), sdp_message_parse_u(), sdp_message_parse_v(), and sdp_message_parse_z().

#define WF   1

Definition at line 32 of file sdp_message.c.

Referenced by sdp_message_parse_a(), sdp_message_parse_b(), sdp_message_parse_c(), sdp_message_parse_e(), sdp_message_parse_i(), sdp_message_parse_k(), sdp_message_parse_m(), sdp_message_parse_o(), sdp_message_parse_p(), sdp_message_parse_r(), sdp_message_parse_s(), sdp_message_parse_t(), sdp_message_parse_u(), sdp_message_parse_v(), and sdp_message_parse_z().


Function Documentation

static int sdp_append_attribute ( char *  string,
int  size,
char *  tmp,
sdp_attribute_t attribute,
char **  next_tmp 
) [static]

Definition at line 1735 of file sdp_message.c.

References __osip_sdp_append_string(), sdp_attribute::a_att_field, sdp_attribute::a_att_value, and CRLF.

Referenced by sdp_append_media(), and sdp_message_to_str().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_append_bandwidth ( char *  string,
int  size,
char *  tmp,
sdp_bandwidth_t bandwidth,
char **  next_tmp 
) [static]

Definition at line 1663 of file sdp_message.c.

References __osip_sdp_append_string(), sdp_bandwidth::b_bandwidth, sdp_bandwidth::b_bwtype, and CRLF.

Referenced by sdp_append_media(), and sdp_message_to_str().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_append_connection ( char *  string,
int  size,
char *  tmp,
sdp_connection_t conn,
char **  next_tmp 
) [static]

Definition at line 1629 of file sdp_message.c.

References __osip_sdp_append_string(), sdp_connection::c_addr, sdp_connection::c_addr_multicast_int, sdp_connection::c_addr_multicast_ttl, sdp_connection::c_addrtype, sdp_connection::c_nettype, and CRLF.

Referenced by sdp_append_media(), and sdp_message_to_str().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_append_key ( char *  string,
int  size,
char *  tmp,
sdp_key_t key,
char **  next_tmp 
) [static]

Definition at line 1716 of file sdp_message.c.

References __osip_sdp_append_string(), CRLF, sdp_key::k_keydata, and sdp_key::k_keytype.

Referenced by sdp_append_media(), and sdp_message_to_str().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_append_media ( char *  string,
int  size,
char *  tmp,
sdp_media_t media,
char **  next_tmp 
) [static]

Definition at line 1756 of file sdp_message.c.

References __osip_sdp_append_string(), sdp_media::a_attributes, sdp_media::b_bandwidths, sdp_media::c_connections, CRLF, sdp_media::i_info, sdp_media::k_key, sdp_media::m_media, sdp_media::m_number_of_port, sdp_media::m_payloads, sdp_media::m_port, sdp_media::m_proto, osip_list_eol(), osip_list_get(), sdp_append_attribute(), sdp_append_bandwidth(), sdp_append_connection(), and sdp_append_key().

Referenced by sdp_message_to_str().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_append_time_descr ( char *  string,
int  size,
char *  tmp,
sdp_time_descr_t time_descr,
char **  next_tmp 
) [static]

Definition at line 1682 of file sdp_message.c.

References __osip_sdp_append_string(), CRLF, osip_list_eol(), osip_list_get(), sdp_time_descr::r_repeats, sdp_time_descr::t_start_time, and sdp_time_descr::t_stop_time.

Referenced by sdp_message_to_str().

Here is the call graph for this function:

Here is the caller graph for this function:

void sdp_attribute_free ( sdp_attribute_t elem  ) 

Free a attribute element.

Parameters:
elem The element to work on.

Definition at line 141 of file sdp_message.c.

References sdp_attribute::a_att_field, sdp_attribute::a_att_value, and osip_free.

Referenced by sdp_media_free(), sdp_message_a_attribute_del(), sdp_message_a_attribute_del_at_index(), sdp_message_free(), and sdp_message_parse_a().

Here is the caller graph for this function:

int sdp_attribute_init ( sdp_attribute_t **  elem  ) 

Allocate an attribute element.

Parameters:
elem The element to work on.

Definition at line 130 of file sdp_message.c.

References osip_malloc.

Referenced by sdp_message_a_attribute_add(), and sdp_message_parse_a().

Here is the caller graph for this function:

void sdp_bandwidth_free ( sdp_bandwidth_t elem  ) 

Free a bandwidth element.

Parameters:
elem The element to work on.

Definition at line 75 of file sdp_message.c.

References sdp_bandwidth::b_bandwidth, sdp_bandwidth::b_bwtype, and osip_free.

Referenced by sdp_media_free(), sdp_message_free(), and sdp_message_parse_b().

Here is the caller graph for this function:

int sdp_bandwidth_init ( sdp_bandwidth_t **  elem  ) 

Allocate a bandwidth element.

Parameters:
elem The element to work on.

Definition at line 64 of file sdp_message.c.

References osip_malloc.

Referenced by sdp_message_b_bandwidth_add(), and sdp_message_parse_b().

Here is the caller graph for this function:

void sdp_connection_free ( sdp_connection_t elem  ) 

Free a connection element.

Parameters:
elem The element to work on.

Definition at line 165 of file sdp_message.c.

References sdp_connection::c_addr, sdp_connection::c_addr_multicast_int, sdp_connection::c_addr_multicast_ttl, sdp_connection::c_addrtype, sdp_connection::c_nettype, and osip_free.

Referenced by sdp_media_free(), sdp_message_free(), and sdp_message_parse_c().

Here is the caller graph for this function:

int sdp_connection_init ( sdp_connection_t **  elem  ) 

Allocate a connection element.

Parameters:
elem The element to work on.

Definition at line 151 of file sdp_message.c.

References osip_malloc.

Referenced by sdp_message_c_connection_add(), and sdp_message_parse_c().

Here is the caller graph for this function:

void sdp_key_free ( sdp_key_t elem  ) 

Free a key element.

Parameters:
elem The element to work on.

Definition at line 120 of file sdp_message.c.

References sdp_key::k_keydata, sdp_key::k_keytype, and osip_free.

Referenced by sdp_media_free(), sdp_message_free(), and sdp_message_parse_k().

Here is the caller graph for this function:

int sdp_key_init ( sdp_key_t **  elem  ) 

Allocate a key element.

Parameters:
elem The element to work on.

Definition at line 109 of file sdp_message.c.

References osip_malloc.

Referenced by sdp_message_k_key_set(), and sdp_message_parse_k().

Here is the caller graph for this function:

void sdp_media_free ( sdp_media_t elem  ) 

Free a media element.

Parameters:
elem The element to work on.

Definition at line 201 of file sdp_message.c.

References sdp_media::a_attributes, sdp_media::b_bandwidths, sdp_media::c_connections, sdp_media::i_info, sdp_media::k_key, sdp_media::m_media, sdp_media::m_number_of_port, sdp_media::m_payloads, sdp_media::m_port, sdp_media::m_proto, osip_free, osip_list_ofchar_free(), osip_list_special_free(), sdp_attribute_free(), sdp_bandwidth_free(), sdp_connection_free(), and sdp_key_free().

Referenced by sdp_message_free(), and sdp_message_parse_m().

Here is the call graph for this function:

Here is the caller graph for this function:

int sdp_media_init ( sdp_media_t **  elem  ) 

Allocate a media element.

Parameters:
elem The element to work on.

Definition at line 178 of file sdp_message.c.

References osip_list_init(), and osip_malloc.

Referenced by sdp_message_m_media_add(), and sdp_message_parse_m().

Here is the call graph for this function:

Here is the caller graph for this function:

int sdp_message_clone ( sdp_message_t sdp,
sdp_message_t **  dest 
)

Clone a SDP packet.

Parameters:
sdp The element to work on.
dest The cloned element.

Definition at line 2086 of file sdp_message.c.

References osip_free, sdp_message_free(), sdp_message_init(), sdp_message_parse(), and sdp_message_to_str().

Here is the call graph for this function:

void sdp_message_free ( sdp_message_t sdp  ) 

Free a SDP packet.

Parameters:
sdp The element to work on.

Definition at line 2048 of file sdp_message.c.

References sdp_message::a_attributes, sdp_message::b_bandwidths, sdp_message::c_connection, sdp_message::e_emails, sdp_message::i_info, sdp_message::k_key, sdp_message::m_medias, sdp_message::o_addr, sdp_message::o_addrtype, sdp_message::o_nettype, sdp_message::o_sess_id, sdp_message::o_sess_version, sdp_message::o_username, osip_free, osip_list_ofchar_free(), osip_list_special_free(), sdp_message::p_phones, sdp_message::s_name, sdp_attribute_free(), sdp_bandwidth_free(), sdp_connection_free(), sdp_key_free(), sdp_media_free(), sdp_time_descr_free(), sdp_message::t_descrs, sdp_message::u_uri, sdp_message::v_version, and sdp_message::z_adjustments.

Referenced by flute_file_repair(), free_args(), sdp_message_clone(), and shut_down_flute().

Here is the call graph for this function:

Here is the caller graph for this function:

int sdp_message_init ( sdp_message_t **  sdp  ) 

Allocate a SDP packet.

Parameters:
sdp The element to work on.

Definition at line 223 of file sdp_message.c.

References osip_list_init(), and osip_malloc.

Referenced by parse_sdp_file(), and sdp_message_clone().

Here is the call graph for this function:

Here is the caller graph for this function:

int sdp_message_parse ( sdp_message_t sdp,
const char *  buf 
)

Parse a SDP packet.

Parameters:
sdp The element to work on.
buf The buffer to parse.

Definition at line 1364 of file sdp_message.c.

References sdp_message::e_emails, ERR_DISCARD, OSIP_INFO4, osip_list_size(), OSIP_TRACE, osip_trace(), sdp_message::p_phones, sdp_message_parse_a(), sdp_message_parse_b(), sdp_message_parse_c(), sdp_message_parse_e(), sdp_message_parse_i(), sdp_message_parse_k(), sdp_message_parse_m(), sdp_message_parse_o(), sdp_message_parse_p(), sdp_message_parse_r(), sdp_message_parse_s(), sdp_message_parse_t(), sdp_message_parse_u(), sdp_message_parse_v(), and sdp_message_parse_z().

Referenced by parse_sdp_file(), and sdp_message_clone().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_a ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 1110 of file sdp_message.c.

References __osip_set_next_token(), sdp_attribute::a_att_field, sdp_attribute::a_att_value, sdp_media::a_attributes, sdp_message::a_attributes, ERR_DISCARD, ERR_ERROR, sdp_message::m_medias, osip_list_add(), osip_list_get(), osip_list_size(), sdp_attribute_free(), sdp_attribute_init(), and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_b ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 782 of file sdp_message.c.

References __osip_set_next_token(), sdp_bandwidth::b_bandwidth, sdp_media::b_bandwidths, sdp_message::b_bandwidths, sdp_bandwidth::b_bwtype, ERR_DISCARD, ERR_ERROR, sdp_message::m_medias, osip_list_add(), osip_list_get(), osip_list_size(), sdp_bandwidth_free(), sdp_bandwidth_init(), and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_c ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 643 of file sdp_message.c.

References __osip_set_next_token(), sdp_connection::c_addr, sdp_connection::c_addr_multicast_int, sdp_connection::c_addr_multicast_ttl, sdp_connection::c_addrtype, sdp_message::c_connection, sdp_media::c_connections, sdp_connection::c_nettype, ERR_DISCARD, ERR_ERROR, sdp_message::m_medias, osip_list_add(), osip_list_get(), osip_list_size(), sdp_connection_free(), sdp_connection_init(), and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_e ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 559 of file sdp_message.c.

References sdp_message::e_emails, ERR_DISCARD, ERR_ERROR, osip_list_add(), osip_malloc, osip_strncpy(), and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_i ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 463 of file sdp_message.c.

References ERR_DISCARD, ERR_ERROR, sdp_media::i_info, sdp_message::i_info, sdp_message::m_medias, osip_list_get(), osip_list_size(), osip_malloc, osip_strncpy(), and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_k ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 1013 of file sdp_message.c.

References __osip_set_next_token(), ERR_DISCARD, ERR_ERROR, sdp_media::k_key, sdp_message::k_key, sdp_key::k_keydata, sdp_key::k_keytype, sdp_message::m_medias, osip_list_get(), osip_list_size(), sdp_key_free(), sdp_key_init(), and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_m ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 1214 of file sdp_message.c.

References __osip_set_next_token(), ERR_DISCARD, ERR_ERROR, sdp_media::m_media, sdp_message::m_medias, sdp_media::m_number_of_port, sdp_media::m_payloads, sdp_media::m_port, sdp_media::m_proto, osip_list_add(), sdp_media_free(), sdp_media_init(), and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_o ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 317 of file sdp_message.c.

References __osip_set_next_token(), ERR_DISCARD, ERR_ERROR, sdp_message::o_addr, sdp_message::o_addrtype, sdp_message::o_nettype, sdp_message::o_sess_id, sdp_message::o_sess_version, sdp_message::o_username, osip_strdup(), and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_p ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 601 of file sdp_message.c.

References ERR_DISCARD, ERR_ERROR, osip_list_add(), osip_malloc, osip_strncpy(), sdp_message::p_phones, and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_r ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 923 of file sdp_message.c.

References ERR_DISCARD, ERR_ERROR, osip_list_add(), osip_list_get(), osip_list_size(), osip_malloc, osip_strncpy(), sdp_time_descr::r_repeats, sdp_message::t_descrs, and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_s ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 410 of file sdp_message.c.

References ERR_DISCARD, ERR_ERROR, osip_malloc, osip_strdup(), osip_strncpy(), sdp_message::s_name, and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_t ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 857 of file sdp_message.c.

References __osip_set_next_token(), ERR_DISCARD, ERR_ERROR, osip_list_add(), sdp_time_descr_free(), sdp_time_descr_init(), sdp_message::t_descrs, sdp_time_descr::t_start_time, sdp_time_descr::t_stop_time, and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_u ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 520 of file sdp_message.c.

References ERR_DISCARD, ERR_ERROR, osip_malloc, osip_strncpy(), sdp_message::u_uri, and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_v ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 278 of file sdp_message.c.

References ERR_DISCARD, ERR_ERROR, osip_malloc, osip_strncpy(), sdp_message::v_version, and WF.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

static int sdp_message_parse_z ( sdp_message_t sdp,
char *  buf,
char **  next 
) [static]

Definition at line 972 of file sdp_message.c.

References ERR_DISCARD, ERR_ERROR, osip_malloc, osip_strncpy(), WF, and sdp_message::z_adjustments.

Referenced by sdp_message_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

int sdp_message_to_str ( sdp_message_t sdp,
char **  dest 
)

Get a string representation of a SDP packet.

Parameters:
sdp The element to work on.
dest The resulting new allocated buffer.

Definition at line 1858 of file sdp_message.c.

References __osip_sdp_append_string(), sdp_message::a_attributes, sdp_message::b_bandwidths, BODY_MESSAGE_MAX_SIZE, sdp_message::c_connection, CRLF, sdp_message::e_emails, sdp_message::i_info, sdp_message::k_key, sdp_message::m_medias, sdp_message::o_addr, sdp_message::o_addrtype, sdp_message::o_nettype, sdp_message::o_sess_id, sdp_message::o_sess_version, sdp_message::o_username, osip_free, osip_list_eol(), osip_list_get(), osip_malloc, sdp_message::p_phones, sdp_message::s_name, sdp_append_attribute(), sdp_append_bandwidth(), sdp_append_connection(), sdp_append_key(), sdp_append_media(), sdp_append_time_descr(), sdp_message::t_descrs, sdp_message::u_uri, sdp_message::v_version, and sdp_message::z_adjustments.

Referenced by sdp_message_clone().

Here is the call graph for this function:

Here is the caller graph for this function:

void sdp_time_descr_free ( sdp_time_descr_t elem  ) 

Free a time description element.

Parameters:
elem The element to work on.

Definition at line 98 of file sdp_message.c.

References osip_free, osip_list_ofchar_free(), sdp_time_descr::r_repeats, sdp_time_descr::t_start_time, and sdp_time_descr::t_stop_time.

Referenced by sdp_message_free(), and sdp_message_parse_t().

Here is the call graph for this function:

Here is the caller graph for this function:

int sdp_time_descr_init ( sdp_time_descr_t **  elem  ) 

Allocate a time description element.

Parameters:
elem The element to work on.

Definition at line 85 of file sdp_message.c.

References osip_list_init(), and osip_malloc.

Referenced by sdp_message_parse_t(), and sdp_message_t_time_descr_add().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Fri Mar 9 20:08:59 2007 for MAD-FCL by  doxygen 1.5.0