-/* $Id: dict.h,v 1.5 2006-05-10 08:13:20 adam Exp $
- Copyright (C) 1995-2005
+/* $Id: dict.h,v 1.7 2006-08-29 09:27:56 adam Exp $
+ Copyright (C) 1995-2006
Index Data ApS
This file is part of the Zebra server.
for more details.
You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra. If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
*/
/** \file dict.h
typedef struct Dict_struct *Dict;
typedef unsigned Dict_ptr;
-typedef unsigned char Dict_char;
YAZ_EXPORT
Dict dict_open (BFiles bfs, const char *name, int cache, int rw,
int (*f)(char *name, const char *info, void *client));
YAZ_EXPORT
-int dict_strcmp (const Dict_char *s1, const Dict_char *s2);
-
-YAZ_EXPORT
-int dict_strncmp (const Dict_char *s1, const Dict_char *s2, size_t n);
-
-YAZ_EXPORT
-int dict_strlen (const Dict_char *s);
-
-YAZ_EXPORT
int dict_scan (Dict dict, char *str,
int *before, int *after, void *client,
int (*f)(char *name, const char *info, int pos, void *client));