| 40 |
40 |
| 41 typedef struct _PurpleConnection PurpleConnection; |
41 typedef struct _PurpleConnection PurpleConnection; |
| 42 typedef struct _PurpleConnectionClass PurpleConnectionClass; |
42 typedef struct _PurpleConnectionClass PurpleConnectionClass; |
| 43 |
43 |
| 44 typedef struct _PurpleConnectionUiOps PurpleConnectionUiOps; |
44 typedef struct _PurpleConnectionUiOps PurpleConnectionUiOps; |
| |
45 |
| |
46 typedef struct _PurpleConnectionErrorInfo PurpleConnectionErrorInfo; |
| 45 |
47 |
| 46 /** |
48 /** |
| 47 * PurpleConnectionFlags: |
49 * PurpleConnectionFlags: |
| 48 * @PURPLE_CONNECTION_FLAG_HTML: Connection sends/receives in 'HTML' |
50 * @PURPLE_CONNECTION_FLAG_HTML: Connection sends/receives in 'HTML' |
| 49 * @PURPLE_CONNECTION_FLAG_NO_BGCOLOR: Connection does not send/receive |
51 * @PURPLE_CONNECTION_FLAG_NO_BGCOLOR: Connection does not send/receive |
| 175 * @type: The type of error. |
177 * @type: The type of error. |
| 176 * @description: A localised, human-readable description of the error. |
178 * @description: A localised, human-readable description of the error. |
| 177 * |
179 * |
| 178 * Holds the type of an error along with its description. |
180 * Holds the type of an error along with its description. |
| 179 */ |
181 */ |
| 180 typedef struct |
182 struct _PurpleConnectionErrorInfo |
| 181 { |
183 { |
| 182 PurpleConnectionError type; |
184 PurpleConnectionError type; |
| 183 char *description; |
185 char *description; |
| 184 } PurpleConnectionErrorInfo; |
186 }; |
| 185 |
187 |
| 186 #include <time.h> |
188 #include <time.h> |
| 187 |
189 |
| 188 #include "account.h" |
190 #include "account.h" |
| 189 #include "protocol.h" |
191 #include "protocol.h" |