view plugins/icq/queue.h @ 1587:69a004b5820a

[gaim-migrate @ 1597] requested keybindings, and also handle nick format changes better committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 16 Mar 2001 07:30:14 +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