Last change
on this file since 9544 was
9544,
checked in by charles, 13 years ago
|
(trunk libT) a very minor commit. remove trailing spaces from lines and other stuff like that
|
File size:
717 bytes
|
Line | |
---|
1 | /* |
---|
2 | * This file Copyright (C) 2009 Charles Kerr <charles@transmissionbt.com> |
---|
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 | |
---|
18 | typedef struct tr_magnet_info |
---|
19 | { |
---|
20 | uint8_t hash[20]; |
---|
21 | char * displayName; |
---|
22 | char ** announceURLs; |
---|
23 | int announceCount; |
---|
24 | } |
---|
25 | tr_magnet_info; |
---|
26 | |
---|
27 | tr_magnet_info * tr_magnetParse( const char * uri ); |
---|
28 | |
---|
29 | void tr_magnetFree( tr_magnet_info * info ); |
---|
30 | |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.