Fixed bug in yaz_oi_update and added delete option.
[yaz-moved-to-github.git] / include / otherinfo.h
index 538fe5f..bab065f 100644 (file)
@@ -3,7 +3,7 @@
  * See the file LICENSE for details.
  * Sebastian Hammer, Adam Dickmeiss
  *
- * $Id: otherinfo.h,v 1.1 1999-04-26 07:25:25 adam Exp $
+ * $Id: otherinfo.h,v 1.2 1999-09-13 12:51:35 adam Exp $
  */
 #ifndef OTHERINFO_H
 #define OTHERINFO_H
@@ -17,7 +17,7 @@ extern "C" {
 YAZ_EXPORT void yaz_oi_APDU(Z_APDU *apdu, Z_OtherInformation ***oip);
 YAZ_EXPORT    Z_OtherInformationUnit *yaz_oi_update (
     Z_OtherInformation **otherInformationP, ODR odr,
-    int *oid, int categoryValue);
+    int *oid, int categoryValue, int delete_flag);
 YAZ_EXPORT void yaz_oi_set_string_oid (
     Z_OtherInformation **otherInformation, ODR odr,
     int *oid, int categoryValue,
@@ -28,10 +28,10 @@ YAZ_EXPORT void yaz_oi_set_string_oidval (
     const char *str);
 YAZ_EXPORT char *yaz_oi_get_string_oid (
     Z_OtherInformation **otherInformation,
-    int *oid, int categoryValue);
+    int *oid, int categoryValue, int delete_flag);
 YAZ_EXPORT char *yaz_oi_get_string_oidval(
     Z_OtherInformation **otherInformation,
-    int oidval, int categoryValue);
+    int oidval, int categoryValue, int delete_flag);
 #ifdef __cplusplus
 }
 #endif