C++ support.
[yaz-moved-to-github.git] / include / prt-arc.h
index 5dcabcf..bf120b5 100644 (file)
 #ifndef PRT_ARC_H
 #define PRT_ARC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* ------------------- Summary Record --------------------- */
 
 typedef struct Z_FormatSpec
@@ -126,4 +130,8 @@ typedef struct Z_OPACRecord
 int z_BriefBib(ODR o, Z_BriefBib **p, int opt);
 int z_OPACRecord(ODR o, Z_OPACRecord **p, int opt);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif