Ignore:
Timestamp:
Oct 10, 2003, 5:12:30 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
fe6f1d3
Parents:
f4d0975
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfaim/aim_cbtypes.h

    r862371b re374dee  
    2525#define AIM_CB_FAM_CHT 0x000e /* Chat */
    2626#define AIM_CB_FAM_SCH 0x000f /* "New" search */
     27#define AIM_CB_FAM_ICO 0x0010 /* Used for uploading buddy icons */
    2728#define AIM_CB_FAM_SSI 0x0013 /* Server stored information */
    2829#define AIM_CB_FAM_ICQ 0x0015
     
    179180/*
    180181 * SNAC Family: "New" Search
    181  *
    182  * Most of these are actually special.
    183182 */
    184183#define AIM_CB_SCH_ERROR 0x0001
     
    187186
    188187/*
     188 * SNAC Family: Buddy icons
     189 */
     190#define AIM_CB_ICO_ERROR 0x0001
     191#define AIM_CB_ICO_REQUEST 0x0004
     192#define AIM_CB_ICO_RESPONSE 0x0005
     193
     194/*
    189195 * SNAC Family: ICQ
    190196 *
     
    194200#define AIM_CB_ICQ_OFFLINEMSG 0x00f0
    195201#define AIM_CB_ICQ_OFFLINEMSGCOMPLETE 0x00f1
    196 #define AIM_CB_ICQ_SIMPLEINFO 0x00f2
     202#define AIM_CB_ICQ_INFO 0x00f2
     203#define AIM_CB_ICQ_ALIAS 0x00f3
    197204#define AIM_CB_ICQ_DEFAULT 0xffff
    198205
     
    203210#define AIM_CB_SSI_REQRIGHTS 0x0002
    204211#define AIM_CB_SSI_RIGHTSINFO 0x0003
    205 #define AIM_CB_SSI_REQLIST 0x0005
     212#define AIM_CB_SSI_REQDATA 0x0004
     213#define AIM_CB_SSI_REQIFCHANGED 0x0005
    206214#define AIM_CB_SSI_LIST 0x0006
    207215#define AIM_CB_SSI_ACTIVATE 0x0007
     
    213221#define AIM_CB_SSI_EDITSTART 0x0011
    214222#define AIM_CB_SSI_EDITSTOP 0x0012
     223#define AIM_CB_SSI_SENDAUTH 0x0014
     224#define AIM_CB_SSI_RECVAUTH 0x0015
     225#define AIM_CB_SSI_SENDAUTHREQ 0x0018
     226#define AIM_CB_SSI_RECVAUTHREQ 0x0019
     227#define AIM_CB_SSI_SENDAUTHREP 0x001a
     228#define AIM_CB_SSI_RECVAUTHREP 0x001b
     229#define AIM_CB_SSI_ADDED 0x001c
    215230
    216231/*
     
    241256 * OFT Services
    242257 *
    243  * See non-SNAC note below.
    244  */
    245 #define AIM_CB_OFT_DIRECTIMCONNECTREQ 0x0001/* connect request -- actually an OSCAR CAP*/
     258 * For all of the above #defines, the number is the subtype
     259 * of the SNAC.  For OFT #defines, the number is the
     260 * "hdrtype" which comes after the magic string and OFT
     261 * packet length.
     262 *
     263 * I'm pretty sure the ODC ones are arbitrary right now,
     264 * that should be changed.
     265 */
     266#define AIM_CB_OFT_DIRECTIMCONNECTREQ 0x0001    /* connect request -- actually an OSCAR CAP */
    246267#define AIM_CB_OFT_DIRECTIMINCOMING 0x0002
    247268#define AIM_CB_OFT_DIRECTIMDISCONNECT 0x0003
    248269#define AIM_CB_OFT_DIRECTIMTYPING 0x0004
    249 #define AIM_CB_OFT_DIRECTIMINITIATE 0x0005
    250 
    251 /* had been removed, put back by kretch */
    252 #define AIM_CB_OFT_GETFILECONNECTREQ 0x0006 /* connect request -- actually an OSCAR CAP*/
    253 #define AIM_CB_OFT_GETFILELISTINGREQ 0x0007 /* OFT listing.txt request */
    254 #define AIM_CB_OFT_GETFILEFILEREQ 0x0008    /* received file request */
    255 #define AIM_CB_OFT_GETFILEFILESEND 0x0009   /* received file request confirm -- send data */
    256 #define AIM_CB_OFT_GETFILECOMPLETE 0x000a   /* received file send complete*/
    257 #define AIM_CB_OFT_GETFILEINITIATE 0x000b   /* request for file get acknowledge */
    258 #define AIM_CB_OFT_GETFILEDISCONNECT 0x000c   /* OFT connection disconnected.*/
    259 #define AIM_CB_OFT_GETFILELISTING 0x000d   /* OFT listing.txt received.*/
    260 #define AIM_CB_OFT_GETFILERECEIVE 0x000e   /* OFT file incoming.*/
    261 #define AIM_CB_OFT_GETFILELISTINGRXCONFIRM 0x000f
    262 #define AIM_CB_OFT_GETFILESTATE4 0x0010
    263 
    264 #define AIM_CB_OFT_SENDFILEFILEREQ 0x0011 /* started receiving file */
    265 #define AIM_CB_OFT_SENDFILEFILESEND 0x0012 /* buddy ready to for us to send */
    266 #define AIM_CB_OFT_SENDFILECOMPLETE 0x0013 /* send to buddy complete */
    267 #define AIM_CB_OFT_SENDFILEINITIATE 0x0014 /* connection to buddy initiated */
    268 
     270#define AIM_CB_OFT_DIRECTIM_ESTABLISHED 0x0005
     271
     272#define AIM_CB_OFT_PROMPT 0x0101                /* "I am going to send you this file, is that ok?" */
     273#define AIM_CB_OFT_RESUMESOMETHING 0x0106       /* I really don't know */
     274#define AIM_CB_OFT_ACK 0x0202                   /* "Yes, it is ok for you to send me that file" */
     275#define AIM_CB_OFT_DONE 0x0204                  /* "I received that file with no problems, thanks a bunch" */
     276#define AIM_CB_OFT_RESUME 0x0205                /* Resume transferring, sent by whoever paused? */
     277#define AIM_CB_OFT_RESUMEACK 0x0207             /* Not really sure */
     278
     279#define AIM_CB_OFT_GETFILE_REQUESTLISTING 0x1108 /* "I have a listing.txt file, do you want it?" */
     280#define AIM_CB_OFT_GETFILE_RECEIVELISTING 0x1209 /* "Yes, please send me your listing.txt file" */
     281#define AIM_CB_OFT_GETFILE_RECEIVEDLISTING 0x120a /* received corrupt listing.txt file? */ /* I'm just guessing about this one... */
     282#define AIM_CB_OFT_GETFILE_ACKLISTING 0x120b    /* "I received the listing.txt file successfully" */
     283#define AIM_CB_OFT_GETFILE_REQUESTFILE 0x120c   /* "Please send me this file" */
     284
     285#define AIM_CB_OFT_ESTABLISHED 0xFFFF           /* connection to buddy initiated */
    269286
    270287/*
     
    282299#define AIM_CB_SPECIAL_FLAPVER 0x0005
    283300#define AIM_CB_SPECIAL_CONNINITDONE 0x0006
    284 #define AIM_CB_SPECIAL_IMAGETRANSFER 0x007
    285 #define AIM_CB_SPECIAL_MSGTIMEOUT 0x008
     301#define AIM_CB_SPECIAL_IMAGETRANSFER 0x0007
     302#define AIM_CB_SPECIAL_MSGTIMEOUT 0x0008
     303#define AIM_CB_SPECIAL_CONNDEAD 0x0009
    286304#define AIM_CB_SPECIAL_UNKNOWN 0xffff
    287305#define AIM_CB_SPECIAL_DEFAULT AIM_CB_SPECIAL_UNKNOWN
Note: See TracChangeset for help on using the changeset viewer.