Mercurial > pidgin
comparison plugins/icq/queue.h @ 1152:201ec77f3a60
[gaim-migrate @ 1162]
icq. whoop de doo
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Tue, 28 Nov 2000 02:22:42 +0000 |
| parents | |
| children | 0ef6603d986e |
comparison
equal
deleted
inserted
replaced
| 1151:428372cc1e39 | 1152:201ec77f3a60 |
|---|---|
| 1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
| 2 #ifndef _QUEUE_H_ | |
| 3 #define _QUEUE_H_ | |
| 4 | |
| 5 #ifdef HAVE_CONFIG_H | |
| 6 #include <config.h> | |
| 7 #endif | |
| 8 | |
| 9 #include "icq.h" | |
| 10 #include "icqpacket.h" | |
| 11 | |
| 12 typedef struct udp_item | |
| 13 { | |
| 14 unsigned char attempts; | |
| 15 unsigned long expire; | |
| 16 icq_Packet *pack; | |
| 17 } icq_UDPQueueItem; | |
| 18 | |
| 19 void icq_UDPQueueNew(ICQLINK*); | |
| 20 void icq_UDPQueueFree(ICQLINK*); | |
| 21 void icq_UDPQueuePut(ICQLINK*, icq_Packet*, int); | |
| 22 icq_Packet *icq_UDPQueueGet(ICQLINK*); | |
| 23 icq_Packet *icq_UDPQueuePeek(ICQLINK*); | |
| 24 void icq_UDPQueueDelete(ICQLINK*); | |
| 25 void icq_UDPQueueFree(ICQLINK*); | |
| 26 void icq_UDPQueueDelSeq(ICQLINK*, WORD); | |
| 27 long icq_UDPQueueInterval(ICQLINK *); | |
| 28 | |
| 29 #endif |
