Moved towards generic character mapping depending on "structure"
[idzebra-moved-to-github.git] / include / zebramap.h
1 /*
2  * Copyright (C) 1994-1997, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: zebramap.h,v $
7  * Revision 1.1  1997-10-27 14:33:04  adam
8  * Moved towards generic character mapping depending on "structure"
9  * field in abstract syntax file. Fixed a few memory leaks. Fixed
10  * bug with negative integers when doing searches with relational
11  * operators.
12  *
13  */
14
15 #ifndef ZEBRAMAP_H
16 #define ZEBRAMAP_H
17
18 #include <proto.h>
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 typedef struct zebra_maps *ZebraMaps;
25 ZebraMaps zebra_maps_open (const char *tabpath);
26
27 void zebra_maps_close (ZebraMaps zm);
28
29 const char **zebra_maps_input (ZebraMaps zms, int reg_type,
30                                const char **from, int len);
31 const char *zebra_maps_output(ZebraMaps, int reg_type, const char **from);
32
33 int zebra_maps_attr (ZebraMaps zms, Z_AttributesPlusTerm *zapt,
34                      int *reg_type, char **search_type, int *complete_flag);
35
36 #ifdef __cplusplus
37 }
38 #endif
39
40 #endif