view plugins/icq/queue.h @ 1401:bf041349b11e

[gaim-migrate @ 1411] abliity to set accounts away independent of each other. also allows for all the other states (like in yahoo and icq). probably breaks MSN, so don't use it until rob fixes it. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 10 Jan 2001 22:15:24 +0000
parents 201ec77f3a60
children 0ef6603d986e
line wrap: on
line source

/* -*- 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