d7eeb11b33530c7d3d1ecbf03256dc052045cc44
[yaz-moved-to-github.git] / include / yaz / ill.h
1 /*
2  * Copyright (c) 1999, Index Data
3  * See the file LICENSE for details.
4  *
5  * $Log: ill.h,v $
6  * Revision 1.4  2000-02-28 11:20:06  adam
7  * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
8  *
9  * Revision 1.3  2000/01/31 13:15:21  adam
10  * Removed uses of assert(3). Cleanup of ODR. CCL parser update so
11  * that some characters are not surrounded by spaces in resulting term.
12  * ILL-code updates.
13  *
14  * Revision 1.2  2000/01/15 09:39:50  adam
15  * Implemented ill_get_ILLRequest. More ILL testing for client.
16  *
17  * Revision 1.1  1999/12/16 23:36:19  adam
18  * Implemented ILL protocol. Minor updates ASN.1 compiler.
19  *
20  */
21 #ifndef ILL_H
22 #define ILL_H
23
24 #include <yaz/ill-core.h>
25 #include <yaz/item-req.h>
26
27 YAZ_BEGIN_CDECL
28
29 struct ill_get_ctl {
30     ODR odr;
31     void *clientData;
32     const char *(*f)(void *clientData, const char *element);
33 };
34     
35 YAZ_EXPORT ILL_ItemRequest *ill_get_ItemRequest (
36     struct ill_get_ctl *gs, const char *name, const char *sub);
37
38 YAZ_EXPORT ILL_Request *ill_get_ILLRequest (
39     struct ill_get_ctl *gs, const char *name, const char *sub);
40
41 YAZ_END_CDECL
42
43 #endif