comparison libfaim/aim_misc.c @ 891:fa2feef25e1e

[gaim-migrate @ 901] Oscar options? committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 12 Sep 2000 22:59:36 +0000
parents e1da6a6ec42b
children 59d9e1177ab5
comparison
equal deleted inserted replaced
890:1fd6a31679f3 891:fa2feef25e1e
538 { 538 {
539 return aim_genericreq_n(sess, conn, 0x0001, 0x0016); 539 return aim_genericreq_n(sess, conn, 0x0001, 0x0016);
540 } 540 }
541 541
542 /* 542 /*
543 * aim_flap_nop()
544 *
545 * No-op. WinAIM 4.x sends these _every minute_ to keep
546 * the connection alive.
547 */
548 faim_export unsigned long aim_flap_nop(struct aim_session_t *sess,
549 struct aim_conn_t *conn)
550 {
551 struct command_tx_struct *newpacket;
552
553 if (!(newpacket = aim_tx_new(AIM_FRAMETYPE_OSCAR, 0x0005, conn, 0)))
554 return sess->snac_nextid;
555
556 newpacket->lock = 1;
557 newpacket->commandlen = 0;
558 newpacket->lock = 0;
559
560 aim_tx_enqueue(sess, newpacket);
561
562 return (sess->snac_nextid);
563 }
564
565 /*
543 * aim_bos_reqrights() 566 * aim_bos_reqrights()
544 * 567 *
545 * Request BOS rights. 568 * Request BOS rights.
546 * 569 *
547 */ 570 */