2 * Copyright (C) 1994-1998, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.4 1998-02-10 12:03:05 adam
10 * Revision 1.3 1997/11/18 10:05:08 adam
11 * Changed character map facility so that admin can specify character
12 * mapping files for each register type, w, p, etc.
14 * Revision 1.2 1997/10/29 12:02:47 adam
15 * Added missing prototype.
17 * Revision 1.1 1997/10/27 14:33:04 adam
18 * Moved towards generic character mapping depending on "structure"
19 * field in abstract syntax file. Fixed a few memory leaks. Fixed
20 * bug with negative integers when doing searches with relational
35 typedef struct zebra_maps *ZebraMaps;
36 ZebraMaps zebra_maps_open (const char *tabpath, Res res);
38 void zebra_maps_close (ZebraMaps zm);
40 const char **zebra_maps_input (ZebraMaps zms, int reg_type,
41 const char **from, int len);
42 const char *zebra_maps_output(ZebraMaps, int reg_type, const char **from);
44 int zebra_maps_attr (ZebraMaps zms, Z_AttributesPlusTerm *zapt,
45 int *reg_type, char **search_type, int *complete_flag);
47 int zebra_maps_sort (ZebraMaps zms, Z_SortAttributes *sortAttributes);
49 int zebra_maps_is_complete (ZebraMaps zms, int structure);
50 int zebra_maps_is_sort (ZebraMaps zms, int reg_type);