Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

gnet_stats_common.h File Reference

#include "gui.h"
#include "columns.h"
#include "if/core/hsep.h"
#include "if/ui/gtk/gnet_stats.h"

Go to the source code of this file.

Functions

const gchar * msg_type_str (gint MSG_TYPE_COUNT)
 Gets the string associated with the message type.

const gchar * msg_drop_str (gint MSG_DROP_REASON_COUNT)
 Gets the string associated with the drop reason.

const gchar * general_type_str (gint GNR_TYPE_COUNT)
 Gets the string associated with the general message.

const gchar * horizon_stat_str (gint row, c_horizon_t column)
gint msg_type_str_size (void)
void gnet_stats_gui_horizon_update (hsep_triple *table, guint32 triples)
 Updates the horizon statistics in the statusbar.


Function Documentation

const gchar* general_type_str gint  GNR_TYPE_COUNT  ) 
 

Gets the string associated with the general message.

void gnet_stats_gui_horizon_update hsep_triple table,
guint32  triples
 

Updates the horizon statistics in the statusbar.

This is an event-driven callback called from the HSEP code using the event listener framework. In addition to taking into account the HSEP information, the number of established non-HSEP nodes and their library size (if provided) are added to the values displayed.

const gchar* horizon_stat_str gint  row,
c_horizon_t  column
 

Returns:
the cell contents for the horizon stats table.
Warning:
NB: The static buffers for each column are disjunct.

const gchar* msg_drop_str gint  MSG_DROP_REASON_COUNT  ) 
 

Gets the string associated with the drop reason.

const gchar* msg_type_str gint  MSG_TYPE_COUNT  ) 
 

Gets the string associated with the message type.

gint msg_type_str_size void   ) 
 


Generated on Sun Feb 12 10:50:02 2006 for Gtk-Gnutella by doxygen 1.3.6