source: trunk/libtransmission/natpmp_local.h @ 14241

Last change on this file since 14241 was 14241, checked in by jordan, 7 years ago

Copyedit the license's revised text: (1) remove unnecessary repitition use of the word 'license' from the top of the header and source files (2) add the standard 'we hope it's useful, but no warranty' clause to COPYING (3) make explicit that linking OpenSSL is allowed (see https://people.gnome.org/~markmc/openssl-and-the-gpl.html for background) (4) sync the Qt and GTK+ clients' license popups with COPYING's revised text

File size: 629 bytes
Line 
1/*
2 * This file Copyright (C) 2007-2014 Mnemosyne LLC
3 *
4 * It may be used under the GNU GPL versions 2 or 3
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
22typedef struct tr_natpmp tr_natpmp;
23
24tr_natpmp * tr_natpmpInit (void);
25
26void tr_natpmpClose (tr_natpmp *);
27
28int 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.