2 * This file Copyright (C) Mnemosyne LLC
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.
10 * $Id: metainfo.h 11709 2011-01-19 13:48:47Z jordan $
13 #ifndef __TRANSMISSION__
14 #error only libtransmission should #include this header.
18 #define TR_METAINFO_H 1
20 #include "transmission.h"
24 tr_bool
tr_metainfoParse( const tr_session
* session
,
25 const struct tr_benc
* benc
,
27 tr_bool
* setmeHasInfoDict
,
28 int * setmeInfoDictLength
);
30 void tr_metainfoRemoveSaved( const tr_session
* session
,
31 const tr_info
* info
);
33 void tr_metainfoMigrate( tr_session
* session
,
36 char* tr_metainfoGetBasename( const tr_info
* );