| 120 * @PURPLE_CONNECTION_ERROR_INVALID_SETTINGS: The username/server/other |
120 * @PURPLE_CONNECTION_ERROR_INVALID_SETTINGS: The username/server/other |
| 121 * preference for the account isn't valid. For instance, on IRC the |
121 * preference for the account isn't valid. For instance, on IRC the |
| 122 * username cannot contain white space. This reason should not be used |
122 * username cannot contain white space. This reason should not be used |
| 123 * for incorrect passwords etc: use |
123 * for incorrect passwords etc: use |
| 124 * #PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED for that. |
124 * #PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED for that. |
| 125 * @todo This reason really shouldn't be necessary. Usernames and |
|
| 126 * other account preferences should be validated when the |
|
| 127 * account is created. |
|
| 128 * @PURPLE_CONNECTION_ERROR_CERT_NOT_PROVIDED: The server did not provide a |
125 * @PURPLE_CONNECTION_ERROR_CERT_NOT_PROVIDED: The server did not provide a |
| 129 * SSL certificate. |
126 * SSL certificate. |
| 130 * @PURPLE_CONNECTION_ERROR_CERT_UNTRUSTED: The server's SSL certificate could |
127 * @PURPLE_CONNECTION_ERROR_CERT_UNTRUSTED: The server's SSL certificate could |
| 131 * not be trusted. |
128 * not be trusted. |
| 132 * @PURPLE_CONNECTION_ERROR_CERT_EXPIRED: The server's SSL certificate has |
129 * @PURPLE_CONNECTION_ERROR_CERT_EXPIRED: The server's SSL certificate has |
| 153 PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED = 2, |
150 PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED = 2, |
| 154 PURPLE_CONNECTION_ERROR_AUTHENTICATION_IMPOSSIBLE = 3, |
151 PURPLE_CONNECTION_ERROR_AUTHENTICATION_IMPOSSIBLE = 3, |
| 155 PURPLE_CONNECTION_ERROR_NO_SSL_SUPPORT = 4, |
152 PURPLE_CONNECTION_ERROR_NO_SSL_SUPPORT = 4, |
| 156 PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR = 5, |
153 PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR = 5, |
| 157 PURPLE_CONNECTION_ERROR_NAME_IN_USE = 6, |
154 PURPLE_CONNECTION_ERROR_NAME_IN_USE = 6, |
| |
155 |
| |
156 /* TODO This reason really shouldn't be necessary. Usernames and |
| |
157 * other account preferences should be validated when the |
| |
158 * account is created. */ |
| 158 PURPLE_CONNECTION_ERROR_INVALID_SETTINGS = 7, |
159 PURPLE_CONNECTION_ERROR_INVALID_SETTINGS = 7, |
| |
160 |
| 159 PURPLE_CONNECTION_ERROR_CERT_NOT_PROVIDED = 8, |
161 PURPLE_CONNECTION_ERROR_CERT_NOT_PROVIDED = 8, |
| 160 PURPLE_CONNECTION_ERROR_CERT_UNTRUSTED = 9, |
162 PURPLE_CONNECTION_ERROR_CERT_UNTRUSTED = 9, |
| 161 PURPLE_CONNECTION_ERROR_CERT_EXPIRED = 10, |
163 PURPLE_CONNECTION_ERROR_CERT_EXPIRED = 10, |
| 162 PURPLE_CONNECTION_ERROR_CERT_NOT_ACTIVATED = 11, |
164 PURPLE_CONNECTION_ERROR_CERT_NOT_ACTIVATED = 11, |
| 163 PURPLE_CONNECTION_ERROR_CERT_HOSTNAME_MISMATCH = 12, |
165 PURPLE_CONNECTION_ERROR_CERT_HOSTNAME_MISMATCH = 12, |
| 523 void purple_connection_update_last_received(PurpleConnection *gc); |
525 void purple_connection_update_last_received(PurpleConnection *gc); |
| 524 |
526 |
| 525 /*@}*/ |
527 /*@}*/ |
| 526 |
528 |
| 527 /**************************************************************************/ |
529 /**************************************************************************/ |
| 528 /** @name Connections API */ |
530 /* Connections API */ |
| 529 /**************************************************************************/ |
531 /**************************************************************************/ |
| 530 /*@{*/ |
532 /*@{*/ |
| 531 |
533 |
| 532 /** |
534 /** |
| 533 * purple_connections_disconnect_all: |
535 * purple_connections_disconnect_all: |
| 574 (g_list_find(purple_connections_get_all(), (gc)) != NULL) |
576 (g_list_find(purple_connections_get_all(), (gc)) != NULL) |
| 575 |
577 |
| 576 /*@}*/ |
578 /*@}*/ |
| 577 |
579 |
| 578 /**************************************************************************/ |
580 /**************************************************************************/ |
| 579 /** @name UI Registration Functions */ |
581 /* UI Registration Functions */ |
| 580 /**************************************************************************/ |
582 /**************************************************************************/ |
| 581 /*@{*/ |
583 /*@{*/ |
| 582 |
584 |
| 583 /** |
585 /** |
| 584 * purple_connections_set_ui_ops: |
586 * purple_connections_set_ui_ops: |
| 598 PurpleConnectionUiOps *purple_connections_get_ui_ops(void); |
600 PurpleConnectionUiOps *purple_connections_get_ui_ops(void); |
| 599 |
601 |
| 600 /*@}*/ |
602 /*@}*/ |
| 601 |
603 |
| 602 /**************************************************************************/ |
604 /**************************************************************************/ |
| 603 /** @name Connections Subsystem */ |
605 /* Connections Subsystem */ |
| 604 /**************************************************************************/ |
606 /**************************************************************************/ |
| 605 /*@{*/ |
607 /*@{*/ |
| 606 |
608 |
| 607 /** |
609 /** |
| 608 * purple_connections_init: |
610 * purple_connections_init: |