Added missing C decl macros for soap.h and srw.h.
[yaz-moved-to-github.git] / include / yaz / ill.h
index 6506340..daa9acb 100644 (file)
@@ -1,19 +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.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
- * 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
@@ -21,9 +10,7 @@
 #include <yaz/ill-core.h>
 #include <yaz/item-req.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+YAZ_BEGIN_CDECL
 
 struct ill_get_ctl {
     ODR odr;
@@ -37,8 +24,12 @@ YAZ_EXPORT ILL_ItemRequest *ill_get_ItemRequest (
 YAZ_EXPORT ILL_Request *ill_get_ILLRequest (
     struct ill_get_ctl *gs, const char *name, const char *sub);
 
-#ifdef __cplusplus
-}
-#endif
+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