65063406e83e8a3551a4f11f0c436b84c352727a
[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.3  2000-01-31 13:15:21  adam
7  * Removed uses of assert(3). Cleanup of ODR. CCL parser update so
8  * that some characters are not surrounded by spaces in resulting term.
9  * ILL-code updates.
10  *
11  * Revision 1.2  2000/01/15 09:39:50  adam
12  * Implemented ill_get_ILLRequest. More ILL testing for client.
13  *
14  * Revision 1.1  1999/12/16 23:36:19  adam
15  * Implemented ILL protocol. Minor updates ASN.1 compiler.
16  *
17  */
18 #ifndef ILL_H
19 #define ILL_H
20
21 #include <yaz/ill-core.h>
22 #include <yaz/item-req.h>
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 struct ill_get_ctl {
29     ODR odr;
30     void *clientData;
31     const char *(*f)(void *clientData, const char *element);
32 };
33     
34 YAZ_EXPORT ILL_ItemRequest *ill_get_ItemRequest (
35     struct ill_get_ctl *gs, const char *name, const char *sub);
36
37 YAZ_EXPORT ILL_Request *ill_get_ILLRequest (
38     struct ill_get_ctl *gs, const char *name, const char *sub);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif