Mercurial > pidgin
diff libgaim/protocols/oscar/oscar.h @ 14392:92eb7a040663
[gaim-migrate @ 17099]
Better connection error messages for dnsquery failures in
general and for oscar
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 31 Aug 2006 09:44:51 +0000 |
parents | 80b05108652c |
children | fb67a345056e |
line wrap: on
line diff
--- a/libgaim/protocols/oscar/oscar.h Thu Aug 31 09:02:10 2006 +0000 +++ b/libgaim/protocols/oscar/oscar.h Thu Aug 31 09:44:51 2006 +0000 @@ -366,6 +366,7 @@ time_t lastactivity; /**< Time of last transmit. */ guint destroy_timeout; OscarDisconnectReason disconnect_reason; + gchar *error_message; /* A few variables that are only used when connecting */ GaimProxyConnectData *connect_data; @@ -571,8 +572,8 @@ /* flap_connection.c */ FlapConnection *flap_connection_new(OscarData *, int type); void flap_connection_close(OscarData *od, FlapConnection *conn); -void flap_connection_destroy(FlapConnection *conn, OscarDisconnectReason reason); -void flap_connection_schedule_destroy(FlapConnection *conn, OscarDisconnectReason reason); +void flap_connection_destroy(FlapConnection *conn, OscarDisconnectReason reason, const gchar *error_message); +void flap_connection_schedule_destroy(FlapConnection *conn, OscarDisconnectReason reason, const gchar *error_message); FlapConnection *flap_connection_findbygroup(OscarData *od, guint16 group); FlapConnection *flap_connection_getbytype(OscarData *, int type); FlapConnection *flap_connection_getbytype_all(OscarData *, int type);