X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-exp.h;h=1789fb5f548db56cd630a3cf33aaf298a855d316;hb=4b867394d5d5dda2be8427c96e0fb0fd07eddbdc;hp=711969a095ee6d519a84f7bb51322ab8c1a8fcf6;hpb=e37f1b24803ae41bba736eabdc14851018578abc;p=yaz-moved-to-github.git diff --git a/include/prt-exp.h b/include/prt-exp.h index 711969a..1789fb5 100644 --- a/include/prt-exp.h +++ b/include/prt-exp.h @@ -1,5 +1,5 @@ /* - * 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, @@ -30,7 +30,9 @@ #include -#define multipleDbSearch multipleDBsearch +#ifdef __cplusplus +extern "C" { +#endif typedef struct Z_CommonInfo { @@ -147,8 +149,8 @@ typedef struct Z_ProxSupportUnit #define Z_ProxSupportUnit_private 1 union { - int known; - Z_ProxSupportPrivate *private; + int *known; + Z_ProxSupportPrivate *zprivate; } u; } Z_ProxSupportUnit; @@ -186,7 +188,7 @@ typedef struct Z_QueryTypeDetails #define Z_QueryTypeDetails_rankedList 5 union { - Z_PrivateCapabilities *private; + Z_PrivateCapabilities *zprivate; Z_RpnCapabilities *rpn; Z_Iso8777Capabilities *iso8777; Z_HumanString *z3958; @@ -287,7 +289,7 @@ typedef struct Z_AttributeOccurrence { Odr_null *anyOrNone; Z_AttributeValueList *specific; - } *attributeValues; + } attributeValues; } Z_AttributeOccurrence; typedef struct Z_AttributeCombination @@ -327,7 +329,7 @@ typedef struct Z_TargetInfo Z_HumanString *recentNews; /* OPTIONAL */ Z_IconObject *icon; /* OPTIONAL */ bool_t *namedResultSets; - bool_t *multipleDbSearch; + bool_t *multipleDBsearch; int *maxResultSets; /* OPTIONAL */ int *maxResultSize; /* OPTIONAL */ int *maxTerms; /* OPTIONAL */ @@ -995,6 +997,10 @@ typedef struct Z_ExplainRecord } u; } Z_ExplainRecord; -int z_ExplainRecord(ODR o, Z_ExplainRecord **p, int opt); +YAZ_EXPORT int z_ExplainRecord(ODR o, Z_ExplainRecord **p, int opt); + +#ifdef __cplusplus +} +#endif #endif