int *tagType; /* OPTIONAL */
Z_StringOrNumeric *tagValue;
Z_Occurrences *occurrences; /* OPTIONAL */
int *tagType; /* OPTIONAL */
Z_StringOrNumeric *tagValue;
Z_Occurrences *occurrences; /* OPTIONAL */
- enum
- {
- Z_ETagUnit_specificTag,
- Z_ETagUnit_wildThing,
- Z_ETagUnit_wildPath
- } which;
+ int which;
+#define Z_ETagUnit_specificTag 0
+#define Z_ETagUnit_wildThing 1
+#define Z_ETagUnit_wildPath 2
- enum
- {
- Z_ERequest_simpleElement,
- Z_ERequest_compositeElement
- } which;
+ int which;
+#define Z_ERequest_simpleElement 0
+#define Z_ERequest_compositeElement 1
-int z_Espec1(ODR o, Z_Espec1 **p, int opt);
+YAZ_EXPORT int z_Espec1(ODR o, Z_Espec1 **p, int opt, const char *name);
+
+#ifdef __cplusplus
+}
+#endif