display.c File Reference

Display information in a thread. More...

#include <stdio.h>
#include <string.h>
#include <windows.h>
#include <process.h>
#include "fdt.h"
#include "flute.h"
#include "../alclib/alc_session.h"
#include "../alclib/transport.h"
#include "../alclib/alc_rx.h"

Include dependency graph for display.c:

Go to the source code of this file.

Defines

#define _WINSOCKAPI_

Functions

void print_sender_info (flute_sender_t *sender)
void print_receiver_info (flute_receiver_t *receiver)
void * sender_file_table_output_thread (void *a)
void * receiver_file_table_output_thread (void *a)


Detailed Description

Display information in a thread.

Author
peltotal
Date
2007/02/28 08:58:01
Revision
1.13

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 display.c.


Define Documentation

#define _WINSOCKAPI_

Definition at line 37 of file display.c.


Function Documentation

void print_receiver_info ( flute_receiver_t receiver  ) 

This is a private function which prints receiving information.

Parameters:
receiver pointer to receiver info structure

Definition at line 127 of file display.c.

References trans_obj::bs, file::content_len, flute_receiver::fdt, file, fdt::file_list, get_alc_session(), trans_obj::len, file::location, blocking_struct::N, trans_obj::nb_of_ready_blocks, file::next, object_exist(), trans_obj::rx_bytes, flute_receiver::s_id, file::status, and file::toi.

Referenced by receiver_file_table_output_thread().

Here is the call graph for this function:

Here is the caller graph for this function:

void print_sender_info ( flute_sender_t sender  ) 

This is a private function which prints sending information.

Parameters:
sender pointer to sender info structure

Definition at line 57 of file display.c.

References alc_session::cc_id, file::content_len, flute_sender::fdt, file, fdt::file_list, get_alc_session(), get_object_sent_bytes(), get_session_tx_toi(), file::location, alc_session::nb_channel, file::next, flute_sender::s_id, and file::toi.

Referenced by sender_file_table_output_thread().

Here is the call graph for this function:

Here is the caller graph for this function:

void* receiver_file_table_output_thread ( void *  a  ) 

This function prints receiving information in a thread..

Parameters:
a pointer to receiver info structure

Definition at line 217 of file display.c.

References flute_receiver::fdt, get_session_state(), print_receiver_info(), flute_receiver::s_id, SActive, and SAFlagReceived.

Referenced by flute_receiver_report().

Here is the call graph for this function:

Here is the caller graph for this function:

void* sender_file_table_output_thread ( void *  a  ) 

This function prints sending information in a thread.

Parameters:
a pointer to sender info structure

Definition at line 189 of file display.c.

References flute_sender::fdt, get_session_state(), print_sender_info(), flute_sender::s_id, SActive, and SPaused.

Referenced by flute_sender().

Here is the call graph for this function:

Here is the caller graph for this function:


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