source: trunk/libtransmission/magnet.h @ 9868

Last change on this file since 9868 was 9868, checked in by charles, 13 years ago

happy new year!

File size: 736 bytes
Line 
1/*
2 * This file Copyright (C) 2009-2010 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:$
11 */
12
13#ifndef TR_MAGNET_H
14#define TR_MAGNET_H 1
15
16#include "transmission.h"
17
18typedef struct tr_magnet_info
19{
20    uint8_t hash[20];
21
22    char * displayName;
23
24    int trackerCount;
25    char ** trackers;
26
27    int webseedCount;
28    char ** webseeds;
29}
30tr_magnet_info;
31
32tr_magnet_info * tr_magnetParse( const char * uri );
33
34void tr_magnetFree( tr_magnet_info * info );
35
36#endif
Note: See TracBrowser for help on using the repository browser.