summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/queue.h
blob: 4f42a3b42f71c9b88a054c8dbd7629ca8b52e8b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __QUEUE_H__
#define __QUEUE_H__

#include "memlist.h"

typedef struct
{
	unsigned int uMsgNr;
} QUEUEHDR;

void Queue_Exit(TYP_LIST *hList, void (*fpFree)(void *pEntry));
void* Queue_InsertEntry (TYP_LIST *hList, unsigned int cbSize, unsigned int uMsgNr,
                         void (*fpFree)(void *pEntry));
BOOL Queue_Remove(TYP_LIST *hList, unsigned int uMsgNr, void (*fpFree)(void *pEntry));
void *Queue_Find(TYP_LIST *hList, unsigned int uMsgNr);

#endif