More explain stuff.
[yaz-moved-to-github.git] / include / prt-exp.h
index 8e27785..57e8e81 100644 (file)
  *
  */
 
+#ifndef PRT_EXP_H
+#define PRT_EXP_H
+
+#include <yconfig.h>
+
+#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