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

upload_stats.h File Reference


Detailed Description

Keep track of which files we send away, and how often.

Author:
Raphael Manfredi
Date:
2001-2003

#include <glib.h>
#include "uploads.h"
#include "if/core/upload_stats.h"

Go to the source code of this file.

Functions

void upload_stats_load_history (const gchar *)
void upload_stats_flush_if_dirty (void)
 Called on a periodic basis to flush the statistics to disk if changed since last call.

void upload_stats_file_begin (const struct upload *u)
 Called when an upload starts.

void upload_stats_file_aborted (const struct upload *u)
 Called when an upload is aborted, to update the amount of bytes transferred.

void upload_stats_file_complete (const struct upload *u)
 Called when an upload completes.

void upload_stats_close (void)
 Called at shutdown time.


Function Documentation

void upload_stats_close void   ) 
 

Called at shutdown time.

void upload_stats_file_aborted const struct upload u  ) 
 

Called when an upload is aborted, to update the amount of bytes transferred.

void upload_stats_file_begin const struct upload u  ) 
 

Called when an upload starts.

void upload_stats_file_complete const struct upload u  ) 
 

Called when an upload completes.

void upload_stats_flush_if_dirty void   ) 
 

Called on a periodic basis to flush the statistics to disk if changed since last call.

void upload_stats_load_history const gchar *   ) 
 


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