main.c File Reference

Implementation of repair server for FLUTE protocol. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include "../../alclib/blocking_alg.h"
#include "../../alclib/transport.h"
#include "../../alclib/null_fec.h"
#include "../../alclib/xor_fec.h"
#include "../../alclib/rs_fec.h"
#include "../../flutelib/fdt.h"
#include "../../flutelib/uri.h"
#include "decode_query_string.h"
#include "parse_query_string.h"
#include "add_fec_plid.h"
#include "helpers.h"

Include dependency graph for main.c:

Go to the source code of this file.

Functions

int main (void)


Detailed Description

Implementation of repair server for FLUTE protocol.

Author
peltotal
Date
2007/02/27 12:50:48
Revision
1.15

MAD-FLUTE-REPAIR-SERVER: Implementation of repair server for FLUTE protocol. Copyright (c) 2005-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

Definition in file main.c.


Function Documentation

int main ( void   ) 

This function is programs main function.

Returns:
0 in success, -1 otherwise

Definition at line 53 of file main.c.

References blocking_struct::A_large, blocking_struct::A_small, add_fec_plid_0_130(), add_fec_plid_128(), add_fec_plid_129(), add_length_indicator(), repair_arguments::base_dir, query_str::block_list, COM_NO_C_FEC_ENC_ID, compute_blocking_structure(), trans_unit::data, decode_fdt_payload(), decode_query_string(), file::encoding, file::es_len, trans_unit::esi, fdt, repair_arguments::fdt_file, file::fec_enc_id, file::fec_inst_id, file, fdt::file_list, query_str::fileURI, free_query_str(), FreeFDT(), get_uri_host_and_path(), GZ_SUFFIX, trans_block::k, trans_unit::len, file::location, MAX_PATH_LENGTH, file::max_sb_len, trans_block::n, qs_missing_block::next, file::next, null_fec_encode_src_block(), parse_flute_conf_file(), parse_query_string(), parse_repair_conf_file(), REED_SOL_FEC_INST_ID, repair_arguments::repair_method, repair_arguments::requested_blocks_file, rs_fec_encode_src_block(), SB_SYS_FEC_ENC_ID, trans_block::sbn, qs_missing_block::sbn, SIMPLE_XOR_FEC_ENC_ID, file::toi, trans_block::unit_list, and xor_fec_encode_src_block().

Here is the call graph for this function:


Generated on Fri Mar 9 20:01:50 2007 for MAD-FCL by  doxygen 1.5.0