diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/icq/queue.h	Tue Nov 28 02:22:42 2000 +0000
@@ -0,0 +1,29 @@
+/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+#ifndef _QUEUE_H_
+#define _QUEUE_H_
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "icq.h"
+#include "icqpacket.h"
+
+typedef struct udp_item
+{
+  unsigned char attempts;
+  unsigned long expire;
+  icq_Packet *pack;
+} icq_UDPQueueItem;
+
+void icq_UDPQueueNew(ICQLINK*);
+void icq_UDPQueueFree(ICQLINK*);
+void icq_UDPQueuePut(ICQLINK*, icq_Packet*, int);
+icq_Packet *icq_UDPQueueGet(ICQLINK*);
+icq_Packet *icq_UDPQueuePeek(ICQLINK*);
+void icq_UDPQueueDelete(ICQLINK*);
+void icq_UDPQueueFree(ICQLINK*);
+void icq_UDPQueueDelSeq(ICQLINK*, WORD);
+long icq_UDPQueueInterval(ICQLINK *);
+
+#endif