sdplib.h File Reference

Needed SDP functions which is not provided by oSIP library. More...

#include "sdp_message.h"

Include dependency graph for sdplib.h:

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

Go to the source code of this file.

Data Structures

struct  sf
struct  fec_dec

Typedefs

typedef sf sf_t
typedef fec_dec fec_dec_t

Functions

char * sdp_attr_get (sdp_message_t *sdp, char *attr_name)
sf_tsf_char2struct (char *src_filt)
void sf_free (sf_t *sf)
fec_dec_tsdp_fec_dec_get (sdp_message_t *sdp)
fec_dec_tfec_dec_char2struct (char *fec_dec)
void fec_dec_free (fec_dec_t *fec_dec)


Detailed Description

Needed SDP functions which is not provided by oSIP library.

Author
peltotal
Date
2007/02/27 11:32:01
Revision
1.18

MAD-SDPLIB: Implementation of SDP protocol with FLUTE descriptors. Copyright (c) 2003-2007 TUT - Tampere University of Technology main authors/contacts: jani.peltotalo@tut.fi and sami.peltotalo@tut.fi

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

This program 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 General Public License for more details.

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

In addition, as a special exception, TUT - Tampere University of Technology gives permission to link the code of this program with the OpenSSL library (or with modified versions of OpenSSL that use the same license as OpenSSL), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

Definition in file sdplib.h.


Typedef Documentation

typedef struct fec_dec fec_dec_t

typedef struct sf sf_t


Function Documentation

fec_dec_t* fec_dec_char2struct ( char *  fec_dec  ) 

This function converts string FEC declaration to FEC declaration structure.

Parameters:
fec_dec pointer to buffer containing FEC declaration string
Returns:
pointer to FEC declaration structure, NULL in error cases

Definition at line 168 of file sdplib.c.

References fec_dec::fec_enc_id, fec_dec::fec_inst_id, fec_dec::index, and fec_dec::next.

Referenced by parse_sdp_file(), and sdp_fec_dec_get().

Here is the caller graph for this function:

void fec_dec_free ( fec_dec_t fec_dec  ) 

This function frees FEC declaration structure.

Parameters:
fec_dec pointer to FEC declaration structure

Definition at line 201 of file sdplib.c.

References fec_dec::next.

Referenced by parse_sdp_file(), and sdp_fec_dec_get().

Here is the caller graph for this function:

char* sdp_attr_get ( sdp_message_t sdp,
char *  attr_name 
)

This function returns wanted attribute from sdp_t structure.

Parameters:
sdp pointer to sdp_t structure
attr_name name of wanted attribute
Returns:
pointer to buffer containing value of wanted attribute, NULL in error cases

Definition at line 39 of file sdplib.c.

References sdp_attribute::a_att_field, sdp_attribute::a_att_value, sdp_message::a_attributes, __node::element, __node::next, osip_list::node, and osip_list_size().

Referenced by parse_sdp_file(), receiver_in_fdt_based_mode(), receiver_in_object_mode(), and receiver_in_ui_mode().

Here is the call graph for this function:

Here is the caller graph for this function:

fec_dec_t* sdp_fec_dec_get ( sdp_message_t sdp  ) 

This function returns FEC declaration structure list from sdp_t structure.

Parameters:
sdp pointer to sdp_t structure
Returns:
pointer to FEC declaration structure list, NULL in error cases

Definition at line 118 of file sdplib.c.

References sdp_attribute::a_att_field, sdp_attribute::a_att_value, sdp_message::a_attributes, __node::element, fec_dec_char2struct(), fec_dec_free(), __node::next, file::next, osip_list::node, osip_list_size(), and prev.

Referenced by parse_sdp_file().

Here is the call graph for this function:

Here is the caller graph for this function:

sf_t* sf_char2struct ( char *  src_filt  ) 

This function converts string source filter to source filter structure.

Parameters:
src_filt pointer to buffer containing source filter string
Returns:
pointer to source filter structure, NULL in error cases

Definition at line 69 of file sdplib.c.

References sf::addr_type, sf::dest_addr, sf::filter_mode, sf::net_type, and sf::src_addr.

Referenced by parse_sdp_file().

Here is the caller graph for this function:

void sf_free ( sf_t sf  ) 

Definition at line 106 of file sdplib.c.

References sf::addr_type, sf::dest_addr, sf::filter_mode, sf::net_type, and sf::src_addr.

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

Here is the caller graph for this function:


Generated on Fri Mar 9 20:04:51 2007 for MAD-FCL by  doxygen 1.5.0