--- a/libpurple/network.h Tue Nov 13 02:20:58 2007 +0000 +++ b/libpurple/network.h Tue Nov 13 04:29:06 2007 +0000 @@ -106,6 +106,20 @@ */ const char *purple_network_get_my_ip(int fd); +#ifndef PURPLE_DISABLE_DEPRECATED +/** + * Should calls to purple_network_listen() and purple_network_listen_range() + * map the port externally using NAT-PMP or UPnP? + * The default value is TRUE + * + * @param map_external Should the open port be mapped externally? + * @deprecated In 3.0.0 a boolean will be added to the above functions to + * perform the same function. + * @since 2.3.0 + */ +void purple_network_listen_map_external(gboolean map_external); +#endif + /** * Attempts to open a listening port ONLY on the specified port number. * You probably want to use purple_network_listen_range() instead of this.