*** empty log message ***
[yaz-moved-to-github.git] / include / prt-arc.h
index 5dcabcf..a537f71 100644 (file)
 #ifndef PRT_ARC_H
 #define PRT_ARC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* ------------------- Summary Record --------------------- */
 
 typedef struct Z_FormatSpec
@@ -123,7 +127,11 @@ typedef struct Z_OPACRecord
     Z_HoldingsRecord **holdingsData;   /* OPTIONAL */
 } Z_OPACRecord;
 
-int z_BriefBib(ODR o, Z_BriefBib **p, int opt);
-int z_OPACRecord(ODR o, Z_OPACRecord **p, int opt);
+YAZ_EXPORT int z_BriefBib(ODR o, Z_BriefBib **p, int opt);
+YAZ_EXPORT int z_OPACRecord(ODR o, Z_OPACRecord **p, int opt);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif