*** empty log message ***
[yaz-moved-to-github.git] / include / prt-acc.h
index deca70d..ad8d82d 100644 (file)
  * OF THIS SOFTWARE.
  *
  * $Log: prt-acc.h,v $
- * Revision 1.6  1996-01-02 08:57:35  quinn
+ * Revision 1.8  1997-09-01 08:49:51  adam
+ * New windows NT/95 port using MSV5.0. To export DLL functions the
+ * YAZ_EXPORT modifier was added. Defined in yconfig.h.
+ *
+ * Revision 1.7  1997/05/14 06:53:46  adam
+ * C++ support.
+ *
+ * Revision 1.6  1996/01/02 08:57:35  quinn
  * Changed enums in the ASN.1 .h files to #defines. Changed oident.class to oclass
  *
  * Revision 1.5  1995/09/29  17:12:09  quinn
 #ifndef PRT_ACC_H
 #define PRT_ACC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct Z_Encryption1
 {
     Odr_oct *cryptType;       /* OPTIONAL */
@@ -153,6 +164,10 @@ typedef struct Z_PromptObject1
     } u;
 } Z_PromptObject1;
 
-int z_PromptObject1(ODR o, Z_PromptObject1 **p, int opt);
+YAZ_EXPORT int z_PromptObject1(ODR o, Z_PromptObject1 **p, int opt);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif