gwenhywfar
4.7.0beta
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
src
base
idlist.h
Go to the documentation of this file.
1
/***************************************************************************
2
$RCSfile$
3
-------------------
4
cvs : $Id$
5
begin : Mon Mar 01 2004
6
copyright : (C) 2004 by Martin Preuss
7
email : martin@libchipcard.de
8
9
***************************************************************************
10
* *
11
* This library is free software; you can redistribute it and/or *
12
* modify it under the terms of the GNU Lesser General Public *
13
* License as published by the Free Software Foundation; either *
14
* version 2.1 of the License, or (at your option) any later version. *
15
* *
16
* This library is distributed in the hope that it will be useful, *
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19
* Lesser General Public License for more details. *
20
* *
21
* You should have received a copy of the GNU Lesser General Public *
22
* License along with this library; if not, write to the Free Software *
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
24
* MA 02111-1307 USA *
25
* *
26
***************************************************************************/
27
33
#ifndef GWENHYWFAR_IDLIST_H
34
#define GWENHYWFAR_IDLIST_H
35
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
typedef
struct
GWEN_IDLIST
GWEN_IDLIST
;
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#include <gwenhywfar/gwenhywfarapi.h>
45
#include <gwenhywfar/types.h>
46
47
#ifdef __cplusplus
48
extern
"C"
{
49
#endif
50
64
GWENHYWFAR_API
65
GWEN_IDLIST
*
GWEN_IdList_new
(
void
);
66
70
GWENHYWFAR_API
71
void
GWEN_IdList_free
(
GWEN_IDLIST
*idl);
72
73
79
GWENHYWFAR_API
80
GWEN_IDLIST
*
GWEN_IdList_dup
(
const
GWEN_IDLIST
*idl);
81
82
86
GWENHYWFAR_API
87
void
GWEN_IdList_Clear
(
GWEN_IDLIST
*idl);
88
92
GWENHYWFAR_API
93
int
GWEN_IdList_AddId
(
GWEN_IDLIST
*idl, uint32_t
id
);
94
99
GWENHYWFAR_API
100
int
GWEN_IdList_DelId
(
GWEN_IDLIST
*idl, uint32_t
id
);
101
106
GWENHYWFAR_API
107
int
GWEN_IdList_HasId
(
const
GWEN_IDLIST
*idl, uint32_t
id
);
108
112
GWENHYWFAR_API
113
uint32_t
GWEN_IdList_GetFirstId
(
GWEN_IDLIST
*idl);
114
115
GWENHYWFAR_API
116
uint32_t
GWEN_IdList_GetNextId
(
GWEN_IDLIST
*idl);
117
125
GWENHYWFAR_API
126
uint32_t
GWEN_IdList_GetFirstId2
(
const
GWEN_IDLIST
*idl,
127
uint32_t *hdl);
128
136
GWENHYWFAR_API
137
uint32_t
GWEN_IdList_GetNextId2
(
const
GWEN_IDLIST
*idl,
138
uint32_t *hdl);
139
140
144
GWENHYWFAR_API
145
int
GWEN_IdList_Sort
(
GWEN_IDLIST
*idl);
146
150
#ifdef __cplusplus
151
}
152
#endif
153
154
155
#endif
/* GWENHYWFAR_IDLIST_H */
156
157
Generated on Wed Aug 21 2013 18:32:10 for gwenhywfar by
1.8.4