Got rid of main.h.
[wine] / dlls / richedit / charlist.h
1 #ifndef _CHARLIST
2 #define _CHARLIST
3
4 typedef struct _tagCHARLISTENTRY
5 {
6     struct _tagCHARLISTENTRY *pNext;
7     char   myChar;
8 } CHARLISTENTRY;
9
10 typedef struct _tagCHARLIST
11 {
12     unsigned int nCount; // Entries Count;
13     CHARLISTENTRY *pHead;
14     CHARLISTENTRY *pTail;
15 } CHARLIST;
16
17
18 void CHARLIST_Enqueue( CHARLIST* pCharList, char myChar);
19 void CHARLIST_Push( CHARLIST* pCharList, char myChar);
20 char CHARLIST_Dequeue(CHARLIST* pCharList);
21 int CHARLIST_GetNbItems(CHARLIST* pCharList);
22 void CHARLIST_FreeList(CHARLIST* pCharList);
23 int CHARLIST_CountChar(CHARLIST* pCharList, char myChar);
24 int CHARLIST_toBuffer(CHARLIST* pCharList, char* pBuffer, int nBufferSize);
25
26 #endif