projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
C++ support.
[yaz-moved-to-github.git]
/
include
/
prt-grs.h
diff --git
a/include/prt-grs.h
b/include/prt-grs.h
index
7983a63
..
f65eccc
100644
(file)
--- a/
include/prt-grs.h
+++ b/
include/prt-grs.h
@@
-30,6
+30,10
@@
#include <yconfig.h>
#include <yconfig.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct Z_GenericRecord;
typedef struct Z_GenericRecord Z_GenericRecord;
struct Z_GenericRecord;
typedef struct Z_GenericRecord Z_GenericRecord;
@@
-94,7
+98,7
@@
typedef struct Z_HitVector
typedef struct Z_Triple
{
Odr_oid *variantSetId; /* OPTIONAL */
typedef struct Z_Triple
{
Odr_oid *variantSetId; /* OPTIONAL */
- int *class;
+ int *zclass;
int *type;
int which;
#define Z_Triple_integer 0
int *type;
int which;
#define Z_Triple_integer 0
@@
-173,4
+177,8
@@
struct Z_GenericRecord
int z_GenericRecord(ODR o, Z_GenericRecord **p, int opt);
int z_Variant(ODR o, Z_Variant **p, int opt);
int z_GenericRecord(ODR o, Z_GenericRecord **p, int opt);
int z_Variant(ODR o, Z_Variant **p, int opt);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif