X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-exp.h;h=57e8e811d28c86ed24852129f0934c693c32a8ae;hb=05d23eb6c40d04281eb51c9e7931c63ea51ceb6f;hp=c442fb7c69d565948a39b5539cfa199500f2d264;hpb=a8f0f1b7224655f2546b71608dbe8520ebc4f254;p=yaz-moved-to-github.git diff --git a/include/prt-exp.h b/include/prt-exp.h index c442fb7..57e8e81 100644 --- a/include/prt-exp.h +++ b/include/prt-exp.h @@ -25,6 +25,12 @@ * */ +#ifndef PRT_EXP_H +#define PRT_EXP_H + +#include + +#define multipleDbSearch multipleDBsearch typedef struct Z_CommonInfo { @@ -205,7 +211,7 @@ typedef struct Z_AccessRestrictionsUnit #define Z_AccessRestrictions_present 2 #define Z_AccessRestrictions_specific_elements 3 #define Z_AccessRestrictions_extended_services 4 -#define Z_AccessRestrictions_by database 5 +#define Z_AccessRestrictions_by_database 5 Z_HumanString *accessText; /* OPTIONAL */ int num_accessChallenges; Odr_oid **accessChallenges; /* OPTIONAL */ @@ -262,7 +268,7 @@ typedef struct Z_AccessInfo int num_elementSetNames; char **elementSetNames; /* OPTIONAL */ int num_unitSystems; - char **unitSystems; + char **unitSystems; /* OPTIONAL */ } Z_AccessInfo; typedef struct Z_DatabaseList @@ -331,7 +337,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 */ @@ -1012,3 +1018,5 @@ typedef struct Z_ExplainRecord } Z_ExplainRecord; int z_ExplainRecord(ODR o, Z_ExplainRecord **p, int opt); + +#endif