2 * This file Copyright (C) 2009-2010 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: magnet.h 11280 2010-10-01 13:33:39Z charles $
13 #ifndef __TRANSMISSION__
14 #error only libtransmission should #include this header.
20 #include "transmission.h"
22 typedef struct tr_magnet_info
36 tr_magnet_info
* tr_magnetParse( const char * uri
);
40 void tr_magnetCreateMetainfo( const tr_magnet_info
*, struct tr_benc
* );
42 void tr_magnetFree( tr_magnet_info
* info
);