source: trunk/libtransmission/verify.h @ 13913

Last change on this file since 13913 was 13913, checked in by jordan, 8 years ago

(libT) change the API signature for tr_torrentVerify() s.t. client code can be notified when the verify is finished

  • Property svn:keywords set to Date Rev Author Id
File size: 803 bytes
Line 
1/*
2 * This file Copyright (C) Mnemosyne LLC
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: verify.h 13913 2013-01-31 21:58:25Z jordan $
11 */
12
13#ifndef __TRANSMISSION__
14#error only libtransmission should #include this header.
15#endif
16
17#ifndef TR_VERIFY_H
18#define TR_VERIFY_H 1
19
20/**
21 * @addtogroup file_io File IO
22 * @{
23 */
24
25void tr_verifyAdd (tr_torrent           * tor,
26                   tr_verify_done_func    callback_func,
27                   void                 * callback_user_data);
28
29void tr_verifyRemove (tr_torrent * tor);
30
31void tr_verifyClose (tr_session *);
32
33/* @} */
34
35#endif
Note: See TracBrowser for help on using the repository browser.