comparison libpurple/connection.h @ 21374:71c1f2da4ff2

PurpleConnectionErrorPair is a better name for struct { PurpleConnectionError; const char *desc } than PurpleAccountCurrentError.
author Will Thompson <will.thompson@collabora.co.uk>
date Sun, 28 Oct 2007 16:32:37 +0000
parents e747ac0c42d6
children f5b223d0cb89
comparison
equal deleted inserted replaced
21373:cbf197042bad 21374:71c1f2da4ff2
124 * reasons are added after it, the check must be updated. 124 * reasons are added after it, the check must be updated.
125 */ 125 */
126 PURPLE_CONNECTION_ERROR_OTHER_ERROR = 15 126 PURPLE_CONNECTION_ERROR_OTHER_ERROR = 15
127 } PurpleConnectionError; 127 } PurpleConnectionError;
128 128
129 /** Holds the type of an error along with its description. */
130 typedef struct
131 {
132 /** The type of error. */
133 PurpleConnectionError type;
134 /** A localised, human-readable description of the error. */
135 const char *description;
136 } PurpleConnectionErrorPair;
137
129 #include <time.h> 138 #include <time.h>
130 139
131 #include "account.h" 140 #include "account.h"
132 #include "plugin.h" 141 #include "plugin.h"
133 #include "status.h" 142 #include "status.h"