Last change
on this file since 14225 was
14225,
checked in by jordan, 7 years ago
|
Licensing changes:
- add the option the code to be used under GPLv2 or GPLv3; previously only GPLv2 was allowed
- add the "proxy option" as described in GPLv3 so we can add future licenses without having to bulk-edit everything again :)
- remove the awkward "exception for MIT code in Mac client" clause; it was unnecessary and confusing.
|
File size:
643 bytes
|
Line | |
---|
1 | /* |
---|
2 | * This file Copyright (C) 2007-2014 Mnemosyne LLC |
---|
3 | * |
---|
4 | * It may be used under the GNU Public License v2 or v3 licenses, |
---|
5 | * or any future license endorsed by Mnemosyne LLC. |
---|
6 | * |
---|
7 | * $Id: natpmp.h 12204 2011-03-22 15:19:54Z jordan $ |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef __TRANSMISSION__ |
---|
11 | #error only libtransmission should #include this header. |
---|
12 | #endif |
---|
13 | |
---|
14 | #ifndef TR_NATPMP_H |
---|
15 | #define TR_NATPMP_H 1 |
---|
16 | |
---|
17 | /** |
---|
18 | * @addtogroup port_forwarding Port Forwarding |
---|
19 | * @{ |
---|
20 | */ |
---|
21 | |
---|
22 | typedef struct tr_natpmp tr_natpmp; |
---|
23 | |
---|
24 | tr_natpmp * tr_natpmpInit (void); |
---|
25 | |
---|
26 | void tr_natpmpClose (tr_natpmp *); |
---|
27 | |
---|
28 | int tr_natpmpPulse (tr_natpmp *, tr_port port, bool isEnabled, tr_port * public_port); |
---|
29 | |
---|
30 | /* @} */ |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.