comparison src/protocols/oscar/snac.c @ 8735:92cbf9713795

[gaim-migrate @ 9490] Patch by Jonathan Champ to corect the vairous speling mistakes we hav e in the coments and documentaion. Thansk Jonathan! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 21 Apr 2004 01:34:26 +0000
parents 858979ab3867
children 17142948653e
comparison
equal deleted inserted replaced
8734:407c122d6191 8735:92cbf9713795
2 * 2 *
3 * Various SNAC-related dodads... 3 * Various SNAC-related dodads...
4 * 4 *
5 * outstanding_snacs is a list of aim_snac_t structs. A SNAC should be added 5 * outstanding_snacs is a list of aim_snac_t structs. A SNAC should be added
6 * whenever a new SNAC is sent and it should remain in the list until the 6 * whenever a new SNAC is sent and it should remain in the list until the
7 * response for it has been receieved. 7 * response for it has been received.
8 * 8 *
9 * cleansnacs() should be called periodically by the client in order 9 * cleansnacs() should be called periodically by the client in order
10 * to facilitate the aging out of unreplied-to SNACs. This can and does 10 * to facilitate the aging out of unreplied-to SNACs. This can and does
11 * happen, so it should be handled. 11 * happen, so it should be handled.
12 * 12 *
101 return cur; 101 return cur;
102 } 102 }
103 103
104 /* 104 /*
105 * This is for cleaning up old SNACs that either don't get replies or 105 * This is for cleaning up old SNACs that either don't get replies or
106 * a reply was never received for. Garabage collection. Plain and simple. 106 * a reply was never received for. Garbage collection. Plain and simple.
107 * 107 *
108 * maxage is the _minimum_ age in seconds to keep SNACs. 108 * maxage is the _minimum_ age in seconds to keep SNACs.
109 * 109 *
110 */ 110 */
111 faim_export void aim_cleansnacs(aim_session_t *sess, int maxage) 111 faim_export void aim_cleansnacs(aim_session_t *sess, int maxage)