Mercurial > pidgin
comparison libpurple/connection.h @ 20114:a465779350aa
Clarified the meaning of PURPLE_REASON_NETWORK_ERROR and
PURPLE_REASON_AUTHENTICATION_FAILED, and added
PURPLE_REASON_AUTHENTICATION_IMPOSSIBLE. It's not fatal basically because none
of the places in prpl-jabber that need it set wants_to_die --- should it be?
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Wed, 19 Sep 2007 11:39:42 +0000 |
parents | ed4c1053c3da |
children | a68d51d60177 |
comparison
equal
deleted
inserted
replaced
20113:1cbda8e2b913 | 20114:a465779350aa |
---|---|
56 } PurpleConnectionState; | 56 } PurpleConnectionState; |
57 | 57 |
58 /** Possible errors that can cause a connection to be closed. */ | 58 /** Possible errors that can cause a connection to be closed. */ |
59 typedef enum | 59 typedef enum |
60 { | 60 { |
61 /** There was an error sending or receiving on the network socket. */ | 61 /** There was an error sending or receiving on the network socket, or |
62 * there was some protocol error (such as the server sending malformed | |
63 * data). | |
64 */ | |
62 PURPLE_REASON_NETWORK_ERROR = 0, | 65 PURPLE_REASON_NETWORK_ERROR = 0, |
63 /** The username or password was invalid. */ | 66 /** The username or password (or some other credential) was incorrect. |
67 */ | |
64 PURPLE_REASON_AUTHENTICATION_FAILED, | 68 PURPLE_REASON_AUTHENTICATION_FAILED, |
69 /** libpurple doesn't speak any of the authentication methods the | |
70 * server offered. | |
71 */ | |
72 PURPLE_REASON_AUTHENTICATION_IMPOSSIBLE, | |
65 /** There was an error negotiating SSL on this connection, or encryption | 73 /** There was an error negotiating SSL on this connection, or encryption |
66 * was unavailable and an account option was set to require it. | 74 * was unavailable and an account option was set to require it. |
67 */ | 75 */ |
68 PURPLE_REASON_ENCRYPTION_ERROR, | 76 PURPLE_REASON_ENCRYPTION_ERROR, |
69 /** Someone is already connected to the server using the name you are | 77 /** Someone is already connected to the server using the name you are |