More Doxygen stuff; for auto-generated code too
[yaz-moved-to-github.git] / include / yaz / ill.h
index 96f6b14..2016d06 100644 (file)
@@ -1,26 +1,49 @@
 /*
- * Copyright (c) 1999, Index Data
+ * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Log: ill.h,v $
- * Revision 1.1  1999-12-16 23:36:19  adam
- * Implemented ILL protocol. Minor updates ASN.1 compiler.
- *
+ * $Id: ill.h,v 1.9 2006-04-20 20:50:51 adam Exp $
+ */
+
+/**
+ * \file ill.h
+ * \brief ILL Package utilities
  */
+
 #ifndef ILL_H
 #define ILL_H
 
 #include <yaz/ill-core.h>
 #include <yaz/item-req.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+YAZ_BEGIN_CDECL
 
-YAZ_EXPORT ILL_ItemRequest *ill_get_ItemRequest (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
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+