comparison libpurple/connection.h @ 20128:57e9d1ecefff

Rename PURPLE_REASON_INVALID_USERNAME to PURPLE_REASON_INVALID_SETTINGS, so it can be used when a server parameter is required but not supplied (for example).
author Will Thompson <will.thompson@collabora.co.uk>
date Tue, 02 Oct 2007 17:16:16 +0000
parents a68d51d60177
children 682543aced31
comparison
equal deleted inserted replaced
20127:a4fda4159937 20128:57e9d1ecefff
77 /** 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
78 * trying to connect with. 78 * trying to connect with.
79 */ 79 */
80 PURPLE_REASON_NAME_IN_USE, 80 PURPLE_REASON_NAME_IN_USE,
81 81
82 /** The username for the account isn't valid. 82 /** The username/server/other preference for the account isn't valid.
83 * For instance, on IRC the screen name cannot contain white space.
84 * This reason should not be used for incorrect passwords etc: use
85 * #PURPLE_REASON_AUTHENTICATION_FAILED for that.
86 *
83 * @todo This reason really shouldn't be necessary. Usernames and 87 * @todo This reason really shouldn't be necessary. Usernames and
84 * other account preferences should be validated when the 88 * other account preferences should be validated when the
85 * account is created. 89 * account is created.
86 */ 90 */
87 PURPLE_REASON_INVALID_USERNAME, 91 PURPLE_REASON_INVALID_SETTINGS,
88 92
89 /** The server did not provide a SSL certificate. */ 93 /** The server did not provide a SSL certificate. */
90 PURPLE_REASON_CERT_NOT_PROVIDED, 94 PURPLE_REASON_CERT_NOT_PROVIDED,
91 /** The server's SSL certificate could not be trusted. */ 95 /** The server's SSL certificate could not be trusted. */
92 PURPLE_REASON_CERT_UNTRUSTED, 96 PURPLE_REASON_CERT_UNTRUSTED,