gwenhywfar  5.1.3
idlist64.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Mon Mar 01 2004
3  copyright : (C) 2020 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * *
8  * This library is free software; you can redistribute it and/or *
9  * modify it under the terms of the GNU Lesser General Public *
10  * License as published by the Free Software Foundation; either *
11  * version 2.1 of the License, or (at your option) any later version. *
12  * *
13  * This library is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16  * Lesser General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU Lesser General Public *
19  * License along with this library; if not, write to the Free Software *
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
21  * MA 02111-1307 USA *
22  * *
23  ***************************************************************************/
24 
30 #ifndef GWENHYWFAR_IDLIST64_H
31 #define GWENHYWFAR_IDLIST64_H
32 
33 
35 #include <gwenhywfar/types.h>
38 
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53 
54 
55 
66 
67 
68 
73 
75 
78 
82 GWENHYWFAR_API int64_t GWEN_IdList64_AddId(GWEN_IDLIST64 *idl, uint64_t id);
83 
88 GWENHYWFAR_API int GWEN_IdList64_DelId(GWEN_IDLIST64 *idl, uint64_t id);
89 
94 GWENHYWFAR_API int GWEN_IdList64_HasId(const GWEN_IDLIST64 *idl, uint64_t id);
95 
96 GWENHYWFAR_API int64_t GWEN_IdList64_GetIdAt(const GWEN_IDLIST64 *idl, uint64_t index);
97 
98 
100 
105 
106 
108 
109 
111 
112 
124 
126 
128 
130 
132 
137 #ifdef __cplusplus
138 }
139 #endif
140 
141 
142 #endif /* GWENHYWFAR_IDLIST64_H */
143 
144 
GWEN_IdList64_free
GWENHYWFAR_API void GWEN_IdList64_free(GWEN_IDLIST64 *idl)
GWEN_IdList64_Iterator_new
GWENHYWFAR_API GWEN_IDLIST64_ITERATOR * GWEN_IdList64_Iterator_new(GWEN_IDLIST64 *idl)
GWEN_IdList64_ReverseSort
GWENHYWFAR_API int GWEN_IdList64_ReverseSort(GWEN_IDLIST64 *idl)
testframework.h
types.h
GWEN_IdList64_Iterator_GetFirstId
GWENHYWFAR_API uint64_t GWEN_IdList64_Iterator_GetFirstId(GWEN_IDLIST64_ITERATOR *it)
GWEN_IdList64_Iterator_GetNextId
GWENHYWFAR_API uint64_t GWEN_IdList64_Iterator_GetNextId(GWEN_IDLIST64_ITERATOR *it)
GWEN_TEST_MODULE
struct GWEN_TEST_MODULE GWEN_TEST_MODULE
Definition: testmodule.h:64
GWEN_IdList64_new
GWENHYWFAR_API GWEN_IDLIST64 * GWEN_IdList64_new(void)
GWEN_IdList64_AddId
GWENHYWFAR_API int64_t GWEN_IdList64_AddId(GWEN_IDLIST64 *idl, uint64_t id)
GWEN_IdList64_dup
GWENHYWFAR_API GWEN_IDLIST64 * GWEN_IdList64_dup(const GWEN_IDLIST64 *oldList)
GWEN_IDLIST64
GWEN_SIMPLEPTRLIST GWEN_IDLIST64
Definition: idlist64.h:42
GWEN_IdList64_HasId
GWENHYWFAR_API int GWEN_IdList64_HasId(const GWEN_IDLIST64 *idl, uint64_t id)
GWEN_SIMPLEPTRLIST
struct GWEN_SIMPLEPTRLIST GWEN_SIMPLEPTRLIST
Definition: simpleptrlist.h:38
simpleptrlist.h
GWEN_IdList64_GetIdAt
GWENHYWFAR_API int64_t GWEN_IdList64_GetIdAt(const GWEN_IDLIST64 *idl, uint64_t index)
GWEN_IdList64_DelId
GWENHYWFAR_API int GWEN_IdList64_DelId(GWEN_IDLIST64 *idl, uint64_t id)
GWEN_IdList64_AddTests
GWENHYWFAR_API int GWEN_IdList64_AddTests(GWEN_TEST_MODULE *mod)
GWEN_IdList64_Clear
GWENHYWFAR_API void GWEN_IdList64_Clear(GWEN_IDLIST64 *idl)
GWEN_IdList64_GetEntryCount
GWENHYWFAR_API uint64_t GWEN_IdList64_GetEntryCount(const GWEN_IDLIST64 *idl)
GWEN_IdList64_Iterator_free
GWENHYWFAR_API void GWEN_IdList64_Iterator_free(GWEN_IDLIST64_ITERATOR *it)
GWEN_IdList64_Attach
GWENHYWFAR_API void GWEN_IdList64_Attach(GWEN_IDLIST64 *idl)
GWEN_IdList64_LazyCopy
GWENHYWFAR_API GWEN_IDLIST64 * GWEN_IdList64_LazyCopy(GWEN_IDLIST64 *oldList)
gwenhywfarapi.h
GWEN_IDLIST64_ITERATOR
struct GWEN_IDLIST64_ITERATOR GWEN_IDLIST64_ITERATOR
Definition: idlist64.h:43
GWEN_IdList64_newWithSteps
GWENHYWFAR_API GWEN_IDLIST64 * GWEN_IdList64_newWithSteps(uint64_t steps)
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:66
GWEN_IdList64_Sort
GWENHYWFAR_API int GWEN_IdList64_Sort(GWEN_IDLIST64 *idl)