Mercurial > pidgin
annotate plugins/icq/queue.h @ 1720:2ebbbffb043d
[gaim-migrate @ 1730]
lala
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sun, 15 Apr 2001 22:49:22 +0000 |
| parents | 0ef6603d986e |
| children | 8ed70631ed15 |
| rev | line source |
|---|---|
| 1152 | 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" | |
|
1498
0ef6603d986e
[gaim-migrate @ 1508]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1152
diff
changeset
|
11 #include "timeout.h" |
| 1152 | 12 |
| 13 typedef struct udp_item | |
| 14 { | |
| 15 unsigned char attempts; | |
|
1498
0ef6603d986e
[gaim-migrate @ 1508]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1152
diff
changeset
|
16 icq_Timeout *timeout; |
| 1152 | 17 icq_Packet *pack; |
|
1498
0ef6603d986e
[gaim-migrate @ 1508]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1152
diff
changeset
|
18 ICQLINK *icqlink; |
| 1152 | 19 } icq_UDPQueueItem; |
| 20 | |
| 21 void icq_UDPQueueNew(ICQLINK*); | |
| 22 void icq_UDPQueueFree(ICQLINK*); | |
|
1498
0ef6603d986e
[gaim-migrate @ 1508]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1152
diff
changeset
|
23 void icq_UDPQueuePut(ICQLINK*, icq_Packet*); |
| 1152 | 24 void icq_UDPQueueDelete(ICQLINK*); |
| 25 void icq_UDPQueueFree(ICQLINK*); | |
| 26 void icq_UDPQueueDelSeq(ICQLINK*, WORD); | |
|
1498
0ef6603d986e
[gaim-migrate @ 1508]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1152
diff
changeset
|
27 void icq_UDPQueueItemResend(icq_UDPQueueItem *pitem); |
| 1152 | 28 |
| 29 #endif |
