IDZEBRA 2.2.8
orddict.h
Go to the documentation of this file.
1/* This file is part of the Zebra server.
2 Copyright (C) Index Data
3
4Zebra is free software; you can redistribute it and/or modify it under
5the terms of the GNU General Public License as published by the Free
6Software Foundation; either version 2, or (at your option) any later
7version.
8
9Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
10WARRANTY; without even the implied warranty of MERCHANTABILITY or
11FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program; if not, write to the Free Software
16Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
18*/
19
20#ifndef ORDDICT_H
21#define ORDDICT_H
22
23#include <yaz/yconfig.h>
24#include <idzebra/dict.h>
25#include <yaz/wrbuf.h>
26
27YAZ_BEGIN_CDECL
28
29WRBUF zebra_mk_ord_str(int ord, const char *str);
30char *dict_lookup_ord(Dict d, int ord, const char *str);
31int dict_insert_ord(Dict dict, int ord, const char *p,
32 int userlen, void *userinfo);
33int dict_delete_ord(Dict dict, int ord, const char *p);
34int dict_delete_subtree_ord(Dict d, int ord, void *client,
35 int (*f)(const char *info, void *client));
36
37YAZ_END_CDECL
38#endif
39/*
40 * Local variables:
41 * c-basic-offset: 4
42 * c-file-style: "Stroustrup"
43 * indent-tabs-mode: nil
44 * End:
45 * vim: shiftwidth=4 tabstop=8 expandtab
46 */
47
Zebra dictionary.
static Dict dict
Definition dicttest.c:35
int dict_delete_subtree_ord(Dict d, int ord, void *client, int(*f)(const char *info, void *client))
Definition orddict.c:67
char * dict_lookup_ord(Dict d, int ord, const char *str)
Definition orddict.c:42
int dict_insert_ord(Dict dict, int ord, const char *p, int userlen, void *userinfo)
Definition orddict.c:50
WRBUF zebra_mk_ord_str(int ord, const char *str)
Definition orddict.c:27
int dict_delete_ord(Dict dict, int ord, const char *p)
Definition orddict.c:59