source: trunk/libtransmission/upnp.h @ 4092

Last change on this file since 4092 was 4092, checked in by charles, 14 years ago

Use libnatpmp for port mapping. rewrite the upnp/natpmp manager.

NOTE: this will break the xpjets build until SoftwareElves? or a volunteer patches the xcode project file to make a libnatpmp library just like was done for libminiupnp.

  • Property svn:keywords set to Date Rev Author Id
File size: 637 bytes
Line 
1/*
2 * This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.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: upnp.h 4092 2007-12-08 19:34:15Z charles $
11 */
12
13#ifndef TR_UPNP_H
14#define TR_UPNP_H 1
15
16typedef struct tr_upnp tr_upnp; 
17
18tr_upnp * tr_upnpInit             ( void );
19void      tr_upnpClose            ( tr_upnp * );
20int       tr_upnpPulse            ( tr_upnp *, int port, int isEnabled );
21
22#endif
Note: See TracBrowser for help on using the repository browser.