From f04d64869f3b1de54fb343f28f955584780001b8 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sat, 26 Nov 2011 15:41:10 +0000 Subject: Project folders rename part 3 git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@215 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- Skype/memlist.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Skype/memlist.h (limited to 'Skype/memlist.h') diff --git a/Skype/memlist.h b/Skype/memlist.h new file mode 100644 index 0000000..de4d52b --- /dev/null +++ b/Skype/memlist.h @@ -0,0 +1,43 @@ +#ifndef __MEMLIST_H__ +#define __MEMLIST_H__ + +// Optional for programs linked against CRT: +// Remove this if you want a proper plain WIN32-App +//#include + +struct _tagLIST; +typedef struct _tagLIST TYP_LIST; + +TYP_LIST *List_Init(unsigned int uiCapacity); +void List_Exit(TYP_LIST *pstHandle); +BOOL List_Push(TYP_LIST *pstHandle, void *pItem); +void *List_Pop (TYP_LIST *pstHandle); +BOOL List_InsertElementAt(TYP_LIST *pstHandle, void *pItem, unsigned int uiPos); +void *List_RemoveElementAt(TYP_LIST *pstHandle, unsigned int uiPos); +unsigned int List_Count(TYP_LIST *pstHandle); +void *List_ElementAt(TYP_LIST *pstHandle,unsigned int uiPos); +void *List_Top(TYP_LIST *pstHandle); +void List_FreeElements(TYP_LIST *pstHandle); +BOOL List_BinarySearch(TYP_LIST *hPList, + int (*pPFunc)(const void *pstPElement,const void *pstPToFind), + const void *pstPToFind,int *piPToInsert); +BOOL List_InsertSort(TYP_LIST *hPList, + int (*pPFunc)(const void *pstPElement,const void *pstPToFind), + void *pItem); + +#ifdef _INC_STDLIB +void List_Sort(TYP_LIST *pstHandle, int (*pFunc)(const void*,const void*)); +#else +#undef RtlMoveMemory +NTSYSAPI +VOID +NTAPI +RtlMoveMemory ( + VOID UNALIGNED *Destination, + CONST VOID UNALIGNED *Source, + SIZE_T Length + ); + +#endif + +#endif \ No newline at end of file -- cgit v1.2.3