Mercurial > pidgin.yaz
comparison src/upnp.h @ 11208:0a3a85452896
[gaim-migrate @ 13339]
Judging from Adam's latest commit to upnp.c, I jumped the gun yesterday when I committed the change here. I'm reverting, so this matches upnp.c again.
Adam, my apologies.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 08 Aug 2005 16:07:27 +0000 |
parents | 30a3d97503be |
children | ff728e84d59a |
comparison
equal
deleted
inserted
replaced
11207:f305bcd85dda | 11208:0a3a85452896 |
---|---|
42 * | 42 * |
43 * @param void | 43 * @param void |
44 * | 44 * |
45 * @return The control URL for the IGD we'll use to use the IGD services | 45 * @return The control URL for the IGD we'll use to use the IGD services |
46 */ | 46 */ |
47 const char *gaim_upnp_discover(void); | 47 char* gaim_upnp_discover(void); |
48 | 48 |
49 | 49 |
50 /** | 50 /** |
51 * Gets the IP address from a UPnP enabled IGD that sits on the local | 51 * Gets the IP address from a UPnP enabled IGD that sits on the local |
52 * network, so when getting the network IP, instead of returning the | 52 * network, so when getting the network IP, instead of returning the |
54 * | 54 * |
55 * @param controlURL The control URL retrieved from gaim_upnp_discover. | 55 * @param controlURL The control URL retrieved from gaim_upnp_discover. |
56 * | 56 * |
57 * @return The IP address of the network, or NULL if something went wrong | 57 * @return The IP address of the network, or NULL if something went wrong |
58 */ | 58 */ |
59 const char* gaim_upnp_get_public_ip(const char* controlURL); | 59 char* gaim_upnp_get_public_ip(const char* controlURL); |
60 | 60 |
61 | 61 |
62 /** | 62 /** |
63 * Maps Ports in a UPnP enabled IGD that sits on the local network to | 63 * Maps Ports in a UPnP enabled IGD that sits on the local network to |
64 * this gaim client. Essentially, this function takes care of the port | 64 * this gaim client. Essentially, this function takes care of the port |