Mercurial > pidgin
comparison libfaim/faim/aim.h @ 771:72e556f6b99d
[gaim-migrate @ 781]
libfaim gets warnings, and other minor changes
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 28 Aug 2000 05:07:43 +0000 |
parents | 58a6e6e26695 |
children | 9a123b171f46 |
comparison
equal
deleted
inserted
replaced
770:172c5cf98dfa | 771:72e556f6b99d |
---|---|
92 * | 92 * |
93 * Note that although we can send this much, its impossible | 93 * Note that although we can send this much, its impossible |
94 * for WinAIM clients (up through the latest (4.0.1957)) to | 94 * for WinAIM clients (up through the latest (4.0.1957)) to |
95 * send any more than 1kb. Amaze all your windows friends | 95 * send any more than 1kb. Amaze all your windows friends |
96 * with utterly oversized instant messages! | 96 * with utterly oversized instant messages! |
97 * | |
98 * XXX: the real limit is the total SNAC size at 8192. Fix this. | |
97 * | 99 * |
98 */ | 100 */ |
99 #define MAXMSGLEN 7987 | 101 #define MAXMSGLEN 7987 |
100 | 102 |
101 /* | 103 /* |
329 u_long onlinesince; | 331 u_long onlinesince; |
330 u_long sessionlen; | 332 u_long sessionlen; |
331 u_short capabilities; | 333 u_short capabilities; |
332 }; | 334 }; |
333 | 335 |
334 #define AIM_CLASS_TRIAL 0x0001 | 336 #define AIM_CLASS_TRIAL 0x0001 /* "damned transients" */ |
335 #define AIM_CLASS_UNKNOWN2 0x0002 | 337 #define AIM_CLASS_ADMINISTRATOR 0x0002 |
336 #define AIM_CLASS_AOL 0x0004 | 338 #define AIM_CLASS_AOL 0x0004 |
337 #define AIM_CLASS_UNKNOWN4 0x0008 | 339 #define AIM_CLASS_OSCAR_PAY 0x0008 |
338 #define AIM_CLASS_FREE 0x0010 | 340 #define AIM_CLASS_FREE 0x0010 |
339 #define AIM_CLASS_AWAY 0x0020 | 341 #define AIM_CLASS_AWAY 0x0020 |
340 #define AIM_CLASS_UNKNOWN40 0x0040 | 342 #define AIM_CLASS_UNKNOWN40 0x0040 |
341 #define AIM_CLASS_UNKNOWN80 0x0080 | 343 #define AIM_CLASS_UNKNOWN80 0x0080 |
344 | |
345 #define AIM_CLASS_ALLUSERS 0x001f | |
342 | 346 |
343 /* | 347 /* |
344 * TLV handling | 348 * TLV handling |
345 */ | 349 */ |
346 | 350 |
482 #define AIM_VISIBILITYCHANGE_PERMITADD 0x05 | 486 #define AIM_VISIBILITYCHANGE_PERMITADD 0x05 |
483 #define AIM_VISIBILITYCHANGE_PERMITREMOVE 0x06 | 487 #define AIM_VISIBILITYCHANGE_PERMITREMOVE 0x06 |
484 #define AIM_VISIBILITYCHANGE_DENYADD 0x07 | 488 #define AIM_VISIBILITYCHANGE_DENYADD 0x07 |
485 #define AIM_VISIBILITYCHANGE_DENYREMOVE 0x08 | 489 #define AIM_VISIBILITYCHANGE_DENYREMOVE 0x08 |
486 | 490 |
491 #define AIM_PRIVFLAGS_ALLOWIDLE 0x01 | |
492 #define AIM_PRIVFLAGS_ALLOWMEMBERSINCE 0x02 | |
493 | |
494 #define AIM_WARN_ANON 0x01 | |
495 | |
496 int aim_send_warning(struct aim_session_t *sess, struct aim_conn_t *conn, char *destsn, int anon); | |
487 u_long aim_bos_nop(struct aim_session_t *, struct aim_conn_t *); | 497 u_long aim_bos_nop(struct aim_session_t *, struct aim_conn_t *); |
488 u_long aim_bos_setidle(struct aim_session_t *, struct aim_conn_t *, u_long); | 498 u_long aim_bos_setidle(struct aim_session_t *, struct aim_conn_t *, u_long); |
489 u_long aim_bos_changevisibility(struct aim_session_t *, struct aim_conn_t *, int, char *); | 499 u_long aim_bos_changevisibility(struct aim_session_t *, struct aim_conn_t *, int, char *); |
490 u_long aim_bos_setbuddylist(struct aim_session_t *, struct aim_conn_t *, char *); | 500 u_long aim_bos_setbuddylist(struct aim_session_t *, struct aim_conn_t *, char *); |
491 u_long aim_bos_setprofile(struct aim_session_t *, struct aim_conn_t *, char *, char *, unsigned int); | 501 u_long aim_bos_setprofile(struct aim_session_t *, struct aim_conn_t *, char *, char *, unsigned int); |
512 int aim_parse_unknown(struct aim_session_t *, struct command_rx_struct *, ...); | 522 int aim_parse_unknown(struct aim_session_t *, struct command_rx_struct *, ...); |
513 int aim_parse_last_bad(struct aim_session_t *, struct command_rx_struct *, ...); | 523 int aim_parse_last_bad(struct aim_session_t *, struct command_rx_struct *, ...); |
514 int aim_parse_generalerrs(struct aim_session_t *, struct command_rx_struct *command, ...); | 524 int aim_parse_generalerrs(struct aim_session_t *, struct command_rx_struct *command, ...); |
515 int aim_parsemotd_middle(struct aim_session_t *sess, struct command_rx_struct *command, ...); | 525 int aim_parsemotd_middle(struct aim_session_t *sess, struct command_rx_struct *command, ...); |
516 int aim_parse_ratechange_middle(struct aim_session_t *sess, struct command_rx_struct *command); | 526 int aim_parse_ratechange_middle(struct aim_session_t *sess, struct command_rx_struct *command); |
527 int aim_parse_evilnotify_middle(struct aim_session_t *sess, struct command_rx_struct *command); | |
517 int aim_parse_msgack_middle(struct aim_session_t *sess, struct command_rx_struct *command); | 528 int aim_parse_msgack_middle(struct aim_session_t *sess, struct command_rx_struct *command); |
518 | 529 |
519 /* aim_im.c */ | 530 /* aim_im.c */ |
520 struct aim_directim_priv { | 531 struct aim_directim_priv { |
521 unsigned char cookie[8]; | 532 unsigned char cookie[8]; |