/*
- * Copyright (c) 1995, Index Data.
+ * Copyright (c) 1995-1998, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
#include <yconfig.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct Z_GenericRecord;
typedef struct Z_GenericRecord Z_GenericRecord;
typedef struct Z_Triple
{
Odr_oid *variantSetId; /* OPTIONAL */
- int *class;
+ int *zclass;
int *type;
int which;
#define Z_Triple_integer 0
char *internationalString;
Odr_oct *octetString;
Odr_oid *oid;
- bool_t *boolean;
+ bool_t *zboolean;
Odr_null *null;
Z_Unit *unit;
Z_IntUnit *valueAndUnit;
Z_TaggedElement **elements;
};
-int z_GenericRecord(ODR o, Z_GenericRecord **p, int opt);
-int z_Variant(ODR o, Z_Variant **p, int opt);
+YAZ_EXPORT int z_GenericRecord(ODR o, Z_GenericRecord **p, int opt);
+YAZ_EXPORT int z_Variant(ODR o, Z_Variant **p, int opt);
+
+#ifdef __cplusplus
+}
+#endif
#endif