Ignore:
Timestamp:
2007-04-16T04:31:52Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b3cae44
Parents:
6bbb939
Message:

Updating the Yahoo! module. This seems to fix handling of incoming away
states/messages, should fix some issues with group chats, and unfortunately
also adds some crap which I don't want to clean up for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/yahoo/yahoo2_types.h

    r6bbb939 rcfc8d58  
    3030
    3131enum yahoo_status {
     32        YAHOO_STATUS_DISCONNECTED = -1,
    3233        YAHOO_STATUS_AVAILABLE = 0,
    3334        YAHOO_STATUS_BRB,
     
    4344        YAHOO_STATUS_CUSTOM = 99,
    4445        YAHOO_STATUS_IDLE = 999,
     46        YAHOO_STATUS_WEBLOGIN = 0x5a55aa55,
    4547        YAHOO_STATUS_OFFLINE = 0x5a55aa56, /* don't ask */
    46         YAHOO_STATUS_NOTIFY = 0x16
     48        YAHOO_STATUS_NOTIFY = 0x16 /* TYPING */
    4749};
    4850#define YAHOO_STATUS_GAME       0x2             /* Games don't fit into the regular status model */
     
    5052enum yahoo_login_status {
    5153        YAHOO_LOGIN_OK = 0,
     54        YAHOO_LOGIN_LOGOFF = 2,
    5255        YAHOO_LOGIN_UNAME = 3,
    5356        YAHOO_LOGIN_PASSWD = 13,
     
    5861
    5962enum yahoo_error {
     63        E_UNKNOWN = -1,
     64        E_CONNECTION = -2,
     65        E_SYSTEM = -3,
    6066        E_CUSTOM = 0,
    6167
     
    7985};
    8086
     87#define YAHOO_PROTO_VER 0x000b
    8188
    8289/* Yahoo style/color directives */
     
    116123};
    117124
     125enum yahoo_stealth_visibility_type {
     126        YAHOO_STEALTH_DEFAULT = 0,
     127        YAHOO_STEALTH_ONLINE,
     128        YAHOO_STEALTH_PERM_OFFLINE
     129};
     130
    118131/* chat member attribs */
    119132#define YAHOO_CHAT_MALE 0x8000
Note: See TracChangeset for help on using the changeset viewer.