Mercurial > pidgin
comparison libpurple/network.h @ 15974:1a12ce76c4f4
The network module now registers the signal 'network-configuration-changed' and emits it when a network change is detected via libnm or the win32 network monitor. The UI could also emit this signal if it knows something network.c doesn't. UPnP and NAT-PMP respond to the signal by clearing their IP address caches; changing networks without quitting/relaunching will now lead to the new IP address being (lazily) determined. This commit also enables nat-pmp and adds nat-pmp.[h|c] to the build process; please let me know if there are any problems building, as I only have OS X test machines.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sat, 31 Mar 2007 20:33:54 +0000 |
parents | 32c366eeeb99 |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
15973:71fddbec98e4 | 15974:1a12ce76c4f4 |
---|---|
195 * @return TRUE if the Internet is available | 195 * @return TRUE if the Internet is available |
196 */ | 196 */ |
197 gboolean purple_network_is_available(void); | 197 gboolean purple_network_is_available(void); |
198 | 198 |
199 /** | 199 /** |
200 * Get the handle for the network system | |
201 * | |
202 * @return the handle to the network system | |
203 */ | |
204 void *purple_network_get_handle(void); | |
205 | |
206 /** | |
200 * Initializes the network subsystem. | 207 * Initializes the network subsystem. |
201 */ | 208 */ |
202 void purple_network_init(void); | 209 void purple_network_init(void); |
203 | 210 |
204 /** | 211 /** |