comparison libpurple/network.h @ 25918:bc8d1607f9b8

propagate from branch 'im.pidgin.pidgin' (head 566d2e86bfd45c806aba1b32d6f85a9a409ff9ea) to branch 'im.pidgin.pidgin.next.minor' (head ffd76856f93610f7cd6178e943d0b61e4220b549)
author Richard Laager <rlaager@wiktel.com>
date Mon, 26 Jan 2009 02:39:55 +0000
parents b38cbefca6ad
children ff4212a5268f
comparison
equal deleted inserted replaced
25372:a8db457c421a 25918:bc8d1607f9b8
206 * @return TRUE if the network is available 206 * @return TRUE if the network is available
207 */ 207 */
208 gboolean purple_network_is_available(void); 208 gboolean purple_network_is_available(void);
209 209
210 /** 210 /**
211 * Makes purple_network_is_available() always return @c TRUE.
212 *
213 * This is what backs the --force-online command line argument in Pidgin,
214 * for example. This is useful for offline testing, especially when
215 * combined with nullprpl.
216 *
217 * @since 2.6.0
218 */
219 void purple_network_force_online(void);
220
221 /**
211 * Get the handle for the network system 222 * Get the handle for the network system
212 * 223 *
213 * @return the handle to the network system 224 * @return the handle to the network system
214 */ 225 */
215 void *purple_network_get_handle(void); 226 void *purple_network_get_handle(void);