source: trunk/libtransmission/stats.h @ 3921

Last change on this file since 3921 was 3921, checked in by charles, 14 years ago

some progress on the overall statistics, though probably not visible to end users yet

File size: 707 bytes
Line 
1/*
2 * This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
3 *
4 * This file is licensed by the GPL version 2.  Works owned by the
5 * Transmission project are granted a special exemption to clause 2(b)
6 * so that the bulk of its code can remain under the MIT license.
7 * This exemption does not extend to derived works not owned by
8 * the Transmission project.
9 *
10 * $Id: peer-msgs.h 3818 2007-11-13 05:36:43Z charles $
11 */
12
13#ifndef TR_STATS_H
14#define TR_STATS_H
15
16void tr_statsInit( tr_handle * handle );
17
18void tr_statsClose( const tr_handle * handle );
19
20void tr_statsAddUploaded( tr_handle * handle, uint32_t bytes );
21
22void tr_statsAddDownloaded( tr_handle * handle, uint32_t bytes );
23
24
25#endif
Note: See TracBrowser for help on using the repository browser.