1 /***************************************************************************
2  $RCSfile$
3  -------------------
4  cvs         : $Id$
5  begin       : Thu Apr 03 2003
6  copyright   : (C) 2003 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 
28 #ifndef GWENHYWFAR_STRINGLIST_P_H
29 #define GWENHYWFAR_STRINGLIST_P_H
30 
31 #include <gwenhywfar/gwenhywfarapi.h>
32 #include <gwenhywfar/stringlist.h>
33 #include <gwenhywfar/types.h>
34 
35 
36 struct GWEN_STRINGLISTENTRYSTRUCT {
37   GWEN_STRINGLISTENTRY *next;
38   const char *data;
39   uint32_t refCount;
40 };
41 
42 
43 struct GWEN_STRINGLISTSTRUCT {
44   GWEN_STRINGLISTENTRY *first;
45   unsigned int count;
46   int senseCase;
47   int ignoreRefCount;
48 };
49 
50 
51 static int GWEN_StringList__compar_asc_nocase(const void *a, const void *b);
52 static int GWEN_StringList__compar_desc_nocase(const void *a, const void *b);
53 static int GWEN_StringList__compar_asc_case(const void *a, const void *b);
54 static int GWEN_StringList__compar_desc_case(const void *a, const void *b);
55 static int GWEN_StringList__compar_asc_int(const void *a, const void *b);
56 static int GWEN_StringList__compar_desc_int(const void *a, const void *b);
57 
58 
59 
60 
61 
62 #endif
63 
64 
65