X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fprt-exp.h;h=57e8e811d28c86ed24852129f0934c693c32a8ae;hp=8e277853bc33e05cdd0c253300c1f57b1fc904a4;hb=b2d4fae21009b1909a35ef9ae6bcd27c1a5dca74;hpb=72592d242326dea9e05cae90d50348a2da0c0948 diff --git a/include/prt-exp.h b/include/prt-exp.h index 8e27785..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 { @@ -203,9 +209,9 @@ typedef struct Z_AccessRestrictionsUnit #define Z_AccessRestrictions_any 0 #define Z_AccessRestrictions_search 1 #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_specific_elements 3 +#define Z_AccessRestrictions_extended_services 4 +#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