00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00033 #ifndef GWENHYWFAR_IDLIST_H
00034 #define GWENHYWFAR_IDLIST_H
00035
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 typedef struct GWEN_IDLIST GWEN_IDLIST;
00040 #ifdef __cplusplus
00041 }
00042 #endif
00043
00044 #include <gwenhywfar/gwenhywfarapi.h>
00045 #include <gwenhywfar/types.h>
00046
00047 #ifdef __cplusplus
00048 extern "C" {
00049 #endif
00050
00064 GWEN_IDLIST *GWEN_IdList_new();
00065
00069 void GWEN_IdList_free(GWEN_IDLIST *idl);
00070
00071
00077 GWEN_IDLIST *GWEN_IdList_dup(const GWEN_IDLIST *idl);
00078
00079
00083 void GWEN_IdList_Clear(GWEN_IDLIST *idl);
00084
00088 int GWEN_IdList_AddId(GWEN_IDLIST *idl, GWEN_TYPE_UINT32 id);
00089
00094 int GWEN_IdList_DelId(GWEN_IDLIST *idl, GWEN_TYPE_UINT32 id);
00095
00100 int GWEN_IdList_HasId(const GWEN_IDLIST *idl, GWEN_TYPE_UINT32 id);
00101
00105 GWEN_TYPE_UINT32 GWEN_IdList_GetFirstId(GWEN_IDLIST *idl);
00106
00107 GWEN_TYPE_UINT32 GWEN_IdList_GetNextId(GWEN_IDLIST *idl);
00108
00112 int GWEN_IdList_Sort(GWEN_IDLIST *idl);
00113
00117 #ifdef __cplusplus
00118 }
00119 #endif
00120
00121
00122 #endif
00123
00124