Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
[yaz-moved-to-github.git] / include / yaz / otherinfo.h
index d7d6d26..69dc8dd 100644 (file)
@@ -3,16 +3,14 @@
  * See the file LICENSE for details.
  * Sebastian Hammer, Adam Dickmeiss
  *
- * $Id: otherinfo.h,v 1.1 1999-11-30 13:47:11 adam Exp $
+ * $Id: otherinfo.h,v 1.2 2000-02-28 11:20:06 adam Exp $
  */
 #ifndef OTHERINFO_H
 #define OTHERINFO_H
 
 #include <yaz/proto.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+YAZ_BEGIN_CDECL
 
 YAZ_EXPORT void yaz_oi_APDU(Z_APDU *apdu, Z_OtherInformation ***oip);
 YAZ_EXPORT    Z_OtherInformationUnit *yaz_oi_update (
@@ -32,8 +30,7 @@ YAZ_EXPORT char *yaz_oi_get_string_oid (
 YAZ_EXPORT char *yaz_oi_get_string_oidval(
     Z_OtherInformation **otherInformation,
     int oidval, int categoryValue, int delete_flag);
-#ifdef __cplusplus
-}
-#endif
+
+YAZ_END_CDECL
 
 #endif