X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fill.h;h=daa9acbc141017fd70365f8e1b3c685b8fff0cf9;hb=14f4eaaffa771604e1cbb54edc51d6f213a3e30c;hp=d533fd81c9d614a53e46d25773670f9443e859f8;hpb=62bcf7a811cd3151ac10f93317c9ddfa6b16f539;p=yaz-moved-to-github.git diff --git a/include/yaz/ill.h b/include/yaz/ill.h index d533fd8..daa9acb 100644 --- a/include/yaz/ill.h +++ b/include/yaz/ill.h @@ -1,14 +1,8 @@ /* - * Copyright (c) 1999, Index Data + * Copyright (c) 1999-2003, Index Data * See the file LICENSE for details. * - * $Log: ill.h,v $ - * 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 - * Implemented ILL protocol. Minor updates ASN.1 compiler. - * + * $Id: ill.h,v 1.6 2003-03-03 19:57:35 adam Exp $ */ #ifndef ILL_H #define ILL_H @@ -16,15 +10,26 @@ #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_EXPORT ILL_Cancel *ill_get_Cancel ( + struct ill_get_ctl *gc, const char *name, const char *sub); + +YAZ_EXPORT ILL_APDU *ill_get_APDU ( + struct ill_get_ctl *gc, const char *name, const char *sub); + +YAZ_END_CDECL #endif