Mercurial > pidgin
view libpurple/protocols/jabber/win32/utsname.h @ 27108:38c4973b5222
Add a function to remove a port mapping (UPnP or NAT-PMP) given a file
descriptor.
Adapt the XMPP PRPL to use this to remove port mappings when a file transfer
is done.
There is still no support for removing left-over mappings at exit, since I've
found no good way of calling purple_upnp_remove_port_mapping (which relies on
callbacks) from purple_network_uninit (since the main thread terminates after
the _uninit functions have finished)...
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Mon, 15 Jun 2009 21:43:25 +0000 |
parents | da022013ec2a |
children |
line wrap: on
line source
#ifndef _SYS_UTSNAME_H #define _SYS_UTSNAME_H #ifdef __cplusplus extern "C" { #endif struct utsname { char sysname[20]; char nodename[20]; char release[20]; char version[20]; char machine[20]; }; int jabber_win32_uname (struct utsname *); #define uname(utsname) jabber_win32_uname(utsname) #ifdef __cplusplus } #endif #endif