view plugins/icq/queue.h @ 1898:73d73939f698

[gaim-migrate @ 1908] this is part one of three. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 28 May 2001 03:36:04 +0000
parents 0ef6603d986e
children 8ed70631ed15
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"
#include "timeout.h"

typedef struct udp_item
{
  unsigned char attempts;
  icq_Timeout *timeout;
  icq_Packet *pack;
  ICQLINK *icqlink;
} icq_UDPQueueItem;

void icq_UDPQueueNew(ICQLINK*);
void icq_UDPQueueFree(ICQLINK*);
void icq_UDPQueuePut(ICQLINK*, icq_Packet*);
void icq_UDPQueueDelete(ICQLINK*);
void icq_UDPQueueFree(ICQLINK*);
void icq_UDPQueueDelSeq(ICQLINK*, WORD);
void icq_UDPQueueItemResend(icq_UDPQueueItem *pitem);

#endif