2 * Copyright (C) 1994-1999, Index Data
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.7 1999-02-02 14:50:46 adam
8 * Updated WIN32 code specific sections. Changed header.
10 * Revision 1.6 1998/06/23 15:33:33 adam
11 * Added feature to specify sort criteria in query (type 7 specifies
14 * Revision 1.5 1998/03/05 08:39:26 adam
15 * Minor changes to zebramap data structures. Changed query
18 * Revision 1.4 1998/02/10 12:03:05 adam
21 * Revision 1.3 1997/11/18 10:05:08 adam
22 * Changed character map facility so that admin can specify character
23 * mapping files for each register type, w, p, etc.
25 * Revision 1.2 1997/10/29 12:02:47 adam
26 * Added missing prototype.
28 * Revision 1.1 1997/10/27 14:33:04 adam
29 * Moved towards generic character mapping depending on "structure"
30 * field in abstract syntax file. Fixed a few memory leaks. Fixed
31 * bug with negative integers when doing searches with relational
46 typedef struct zebra_maps *ZebraMaps;
47 ZebraMaps zebra_maps_open (Res res);
49 void zebra_maps_close (ZebraMaps zm);
51 const char **zebra_maps_input (ZebraMaps zms, unsigned reg_id,
52 const char **from, int len);
53 const char *zebra_maps_output(ZebraMaps, unsigned reg_id, const char **from);
55 int zebra_maps_attr (ZebraMaps zms, Z_AttributesPlusTerm *zapt,
56 unsigned *reg_id, char **search_type, char **rank_type,
57 int *complete_flag, int *sort_flag);
59 int zebra_maps_sort (ZebraMaps zms, Z_SortAttributes *sortAttributes);
61 int zebra_maps_is_complete (ZebraMaps zms, unsigned reg_id);
62 int zebra_maps_is_sort (ZebraMaps zms, unsigned reg_id);