Mercurial > pidgin
comparison plugins/icq/queue.h @ 1498:0ef6603d986e
[gaim-migrate @ 1508]
updating icqlib
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Thu, 22 Feb 2001 23:07:34 +0000 |
| parents | 201ec77f3a60 |
| children | 8ed70631ed15 |
comparison
equal
deleted
inserted
replaced
| 1497:c3a40af2b0c4 | 1498:0ef6603d986e |
|---|---|
| 6 #include <config.h> | 6 #include <config.h> |
| 7 #endif | 7 #endif |
| 8 | 8 |
| 9 #include "icq.h" | 9 #include "icq.h" |
| 10 #include "icqpacket.h" | 10 #include "icqpacket.h" |
| 11 #include "timeout.h" | |
| 11 | 12 |
| 12 typedef struct udp_item | 13 typedef struct udp_item |
| 13 { | 14 { |
| 14 unsigned char attempts; | 15 unsigned char attempts; |
| 15 unsigned long expire; | 16 icq_Timeout *timeout; |
| 16 icq_Packet *pack; | 17 icq_Packet *pack; |
| 18 ICQLINK *icqlink; | |
| 17 } icq_UDPQueueItem; | 19 } icq_UDPQueueItem; |
| 18 | 20 |
| 19 void icq_UDPQueueNew(ICQLINK*); | 21 void icq_UDPQueueNew(ICQLINK*); |
| 20 void icq_UDPQueueFree(ICQLINK*); | 22 void icq_UDPQueueFree(ICQLINK*); |
| 21 void icq_UDPQueuePut(ICQLINK*, icq_Packet*, int); | 23 void icq_UDPQueuePut(ICQLINK*, icq_Packet*); |
| 22 icq_Packet *icq_UDPQueueGet(ICQLINK*); | |
| 23 icq_Packet *icq_UDPQueuePeek(ICQLINK*); | |
| 24 void icq_UDPQueueDelete(ICQLINK*); | 24 void icq_UDPQueueDelete(ICQLINK*); |
| 25 void icq_UDPQueueFree(ICQLINK*); | 25 void icq_UDPQueueFree(ICQLINK*); |
| 26 void icq_UDPQueueDelSeq(ICQLINK*, WORD); | 26 void icq_UDPQueueDelSeq(ICQLINK*, WORD); |
| 27 long icq_UDPQueueInterval(ICQLINK *); | 27 void icq_UDPQueueItemResend(icq_UDPQueueItem *pitem); |
| 28 | 28 |
| 29 #endif | 29 #endif |
