* OF THIS SOFTWARE.
*
* $Log: prt-acc.h,v $
- * Revision 1.6 1996-01-02 08:57:35 quinn
+ * Revision 1.9 1999-04-20 09:56:48 adam
+ * Added 'name' paramter to encoder/decoder routines (typedef Odr_fun).
+ * Modified all encoders/decoders to reflect this change.
+ *
+ * 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 */
} 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,
+ const char *name);
+
+#ifdef __cplusplus
+}
+#endif
#endif