source: trunk/libtransmission/stats.h

Last change on this file was 14724, checked in by jordan, 5 years ago

use '#pragma once' instead of #ifndef..#define..#endif guards

  • Property svn:keywords set to Date Rev Author Id
File size: 613 bytes
Line 
1/*
2 * This file Copyright (C) 2007-2014 Mnemosyne LLC
3 *
4 * It may be used under the GNU GPL versions 2 or 3
5 * or any future license endorsed by Mnemosyne LLC.
6 *
7 */
8
9#ifndef __TRANSMISSION__
10 #error only libtransmission should #include this header.
11#endif
12
13#pragma once
14
15void tr_statsInit          (tr_session * session);
16void tr_statsClose         (tr_session * session);
17void tr_statsSaveDirty     (tr_session * session);
18void tr_statsAddUploaded   (tr_session * session, uint32_t bytes);
19void tr_statsAddDownloaded (tr_session * session, uint32_t bytes);
20void tr_statsFileCreated   (tr_session * session);
21
Note: See TracBrowser for help on using the repository browser.