comparison libpurple/connection.h @ 21968:a463f05b4566

Felipe Contreras, one of our older Crazy Pacth Writers, noticed that these prototypes were incorrect when he compiled with -Wstrict-prototypes.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Mon, 31 Dec 2007 03:06:42 +0000
parents 8ffb65f3c0e9
children 252b96b6a32c
comparison
equal deleted inserted replaced
21967:33f4a9e685a3 21968:a463f05b4566
194 /** Called when libpurple discovers that the computer's network 194 /** Called when libpurple discovers that the computer's network
195 * connection is active. On Linux, this uses Network Manager if 195 * connection is active. On Linux, this uses Network Manager if
196 * available; on Windows, it uses Win32's network change notification 196 * available; on Windows, it uses Win32's network change notification
197 * infrastructure. 197 * infrastructure.
198 */ 198 */
199 void (*network_connected)(); 199 void (*network_connected)(void);
200 /** Called when libpurple discovers that the computer's network 200 /** Called when libpurple discovers that the computer's network
201 * connection has gone away. 201 * connection has gone away.
202 */ 202 */
203 void (*network_disconnected)(); 203 void (*network_disconnected)(void);
204 204
205 /** Called when an error causes a connection to be disconnected. 205 /** Called when an error causes a connection to be disconnected.
206 * Called before #disconnected. This op is intended to replace 206 * Called before #disconnected. This op is intended to replace
207 * #report_disconnect. If both are implemented, this will be called 207 * #report_disconnect. If both are implemented, this will be called
208 * first; however, there's no real reason to implement both. 208 * first; however, there's no real reason to implement both.