X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fill.h;h=d7eeb11b33530c7d3d1ecbf03256dc052045cc44;hb=d90d31f39aba4c7256d5b83eaf4192630b18ae02;hp=d533fd81c9d614a53e46d25773670f9443e859f8;hpb=62bcf7a811cd3151ac10f93317c9ddfa6b16f539;p=yaz-moved-to-github.git diff --git a/include/yaz/ill.h b/include/yaz/ill.h index d533fd8..d7eeb11 100644 --- a/include/yaz/ill.h +++ b/include/yaz/ill.h @@ -3,7 +3,15 @@ * See the file LICENSE for details. * * $Log: ill.h,v $ - * Revision 1.2 2000-01-15 09:39:50 adam + * Revision 1.4 2000-02-28 11:20:06 adam + * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL. + * + * Revision 1.3 2000/01/31 13:15:21 adam + * Removed uses of assert(3). Cleanup of ODR. CCL parser update so + * that some characters are not surrounded by spaces in resulting term. + * ILL-code updates. + * + * Revision 1.2 2000/01/15 09:39:50 adam * Implemented ill_get_ILLRequest. More ILL testing for client. * * Revision 1.1 1999/12/16 23:36:19 adam @@ -16,15 +24,20 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif +YAZ_BEGIN_CDECL -YAZ_EXPORT ILL_ItemRequest *ill_get_ItemRequest (ODR o); -YAZ_EXPORT ILL_Request *ill_get_ILLRequest (ODR o); +struct ill_get_ctl { + ODR odr; + void *clientData; + const char *(*f)(void *clientData, const char *element); +}; + +YAZ_EXPORT ILL_ItemRequest *ill_get_ItemRequest ( + struct ill_get_ctl *gs, const char *name, const char *sub); -#ifdef __cplusplus -} -#endif +YAZ_EXPORT ILL_Request *ill_get_ILLRequest ( + struct ill_get_ctl *gs, const char *name, const char *sub); + +YAZ_END_CDECL #endif