Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.h @ 17289:73720427b132
Show online buddies on buddy list as online.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sat, 02 Jun 2007 20:57:11 +0000 |
parents | 58b4d103a5b8 |
children | aa8e70fa1edc |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Sat Jun 02 04:55:07 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Sat Jun 02 20:57:11 2007 +0000 @@ -92,6 +92,18 @@ /* Authentication algorithm for login2 */ #define MSIM_AUTH_ALGORITHM 196610 +/* Indexes into status string (0|1|2|3|..., but 0 always empty) */ +#define MSIM_STATUS_ORDINAL_EMPTY 0 +#define MSIM_STATUS_ORDINAL_UNKNOWNs 1 +#define MSIM_STATUS_ORDINAL_ONLINE 2 +#define MSIM_STATUS_ORDINAL_UNKNOWNss 3 +#define MSIM_STATUS_ORDINAL_HEADLINE 4 +#define MSIM_STATUS_ORDINAL_UNKNOWNls 5 +#define MSIM_STATUS_ORDINAL_UNKNOWN 6 +#define MSIM_STATUS_ORDINAL_UNKNOWN1 7 +#define MSIM_STATUS_ORDINAL_UNKNOWNp 8 +#define MSIM_STATUS_ORDINAL_UNKNOWN2 9 + /* Random number in every MsimSession, to ensure it is valid. */ #define MSIM_SESSION_STRUCT_MAGIC 0xe4a6752b