Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.h @ 13986:8a8b4f7f7d99
[gaim-migrate @ 16556]
Fix a minor case of accessing something that had been free'd in oscar,
and some other minor cleanup. FYI "0" is a valid file descriptor,
but it will pretty much always be STDOUT, STDERR or STDIN. But I
like to check for -1 anyway, because I'm weird.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 24 Jul 2006 04:27:42 +0000 |
parents | 614c56622453 |
children | a21da42126d6 |
comparison
equal
deleted
inserted
replaced
13985:a7b1d2ab9cb0 | 13986:8a8b4f7f7d99 |
---|---|
285 #define CLIENTINFO_AIM_KNOWNGOOD CLIENTINFO_AIM_5_1_3036 | 285 #define CLIENTINFO_AIM_KNOWNGOOD CLIENTINFO_AIM_5_1_3036 |
286 #define CLIENTINFO_ICQ_KNOWNGOOD CLIENTINFO_ICQ_5_45_3777 | 286 #define CLIENTINFO_ICQ_KNOWNGOOD CLIENTINFO_ICQ_5_45_3777 |
287 | 287 |
288 typedef enum | 288 typedef enum |
289 { | 289 { |
290 OSCAR_DISCONNECT_DONE, | 290 OSCAR_DISCONNECT_DONE, /* not considered an error */ |
291 OSCAR_DISCONNECT_LOCAL_CLOSED, | 291 OSCAR_DISCONNECT_LOCAL_CLOSED, /* peer connections only, not considered an error */ |
292 OSCAR_DISCONNECT_REMOTE_CLOSED, | 292 OSCAR_DISCONNECT_REMOTE_CLOSED, |
293 OSCAR_DISCONNECT_REMOTE_REFUSED, | 293 OSCAR_DISCONNECT_REMOTE_REFUSED, /* peer connections only */ |
294 OSCAR_DISCONNECT_LOST_CONNECTION, | 294 OSCAR_DISCONNECT_LOST_CONNECTION, |
295 OSCAR_DISCONNECT_INVALID_DATA, | 295 OSCAR_DISCONNECT_INVALID_DATA, |
296 OSCAR_DISCONNECT_COULD_NOT_CONNECT, | 296 OSCAR_DISCONNECT_COULD_NOT_CONNECT, |
297 OSCAR_DISCONNECT_RETRYING | 297 OSCAR_DISCONNECT_RETRYING /* peer connections only */ |
298 } OscarDisconnectReason; | 298 } OscarDisconnectReason; |
299 | 299 |
300 typedef enum | 300 typedef enum |
301 { | 301 { |
302 OSCAR_CAPABILITY_BUDDYICON = 0x00000001, | 302 OSCAR_CAPABILITY_BUDDYICON = 0x00000001, |