flute_file_repair.h File Reference

Point-to-multipoint file repair. More...

#include "../alclib/defines.h"
#include "flute_defines.h"
#include "fdt.h"
#include "flute.h"

Include dependency graph for flute_file_repair.h:

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

Go to the source code of this file.


int flute_file_repair (flute_receiver_t *receiver, arguments_t *a, char *sdp_buf)

Detailed Description

Point-to-multipoint file repair.

2007/02/28 08:58:01

MAD-FLUTELIB: Implementation of FLUTE protocol. 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 flute_file_repair.h.

Function Documentation

int flute_file_repair ( flute_receiver_t receiver,
arguments_t a,
char *  sdp_buf 

This function handles PTMP file repair.

receiver pointer to structure containing receiver information
a arguments structure where command line arguments are parsed
sdp_buf buffer containing session description for the repair session
0 when state is SClosed, -1 in error cases, -2 when state is SExiting, -3 when state is STxStopped, -4 when MD5 check error occurs, -5 when state is SExiting in start time waiting period

Definition at line 57 of file flute_file_repair.c.

References add_alc_channel(), alc_arguments::addr_type, arguments::alc_a, alc_arguments::cc_id, close_alc_session(), FALSE, alc_session::fdt_list, fdt_thread(), get_alc_session(), get_session_fdt_list(), get_session_obj_list(), get_session_state(), get_session_wanted_obj_list(), alc_arguments::intface, alc_arguments::intface_name, MAX_CHANNELS_IN_SESSION, MAX_PORT_LENGTH, alc_arguments::nb_channel, Null, alc_session::obj_list, open_alc_session(), parse_sdp_file(), receiver_in_fdt_based_mode(), RLC, flute_receiver::s_id, arguments::sdp, sdp_message_free(), set_session_state(), SExiting, sf_free(), arguments::src_filt, alc_arguments::start_time, alc_arguments::stop_time, TRUE, and alc_session::wanted_obj_list.

Referenced by flute_receiver_report().

Here is the call graph for this function:

Here is the caller graph for this function:

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