1 /* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
2 /* Module-H ElementSpecificationFormat-eSpec-1 */
9 #include <yaz/z-core.h>
14 typedef struct Z_Espec1 Z_Espec1;
15 YAZ_EXPORT int z_Espec1 (ODR o, Z_Espec1 **p, int opt, const char *name);
17 typedef struct Z_ElementRequestCompositeElementPrimitives Z_ElementRequestCompositeElementPrimitives;
18 YAZ_EXPORT int z_ElementRequestCompositeElementPrimitives (ODR o, Z_ElementRequestCompositeElementPrimitives **p, int opt, const char *name);
20 typedef struct Z_ElementRequestCompositeElementSpecs Z_ElementRequestCompositeElementSpecs;
21 YAZ_EXPORT int z_ElementRequestCompositeElementSpecs (ODR o, Z_ElementRequestCompositeElementSpecs **p, int opt, const char *name);
23 typedef struct Z_ElementRequestCompositeElement Z_ElementRequestCompositeElement;
24 YAZ_EXPORT int z_ElementRequestCompositeElement (ODR o, Z_ElementRequestCompositeElement **p, int opt, const char *name);
26 typedef struct Z_ElementRequest Z_ElementRequest;
27 YAZ_EXPORT int z_ElementRequest (ODR o, Z_ElementRequest **p, int opt, const char *name);
29 typedef struct Z_SimpleElement Z_SimpleElement;
30 YAZ_EXPORT int z_SimpleElement (ODR o, Z_SimpleElement **p, int opt, const char *name);
32 typedef struct Z_SpecificTag Z_SpecificTag;
33 YAZ_EXPORT int z_SpecificTag (ODR o, Z_SpecificTag **p, int opt, const char *name);
35 typedef struct Z_ETagUnit Z_ETagUnit;
36 YAZ_EXPORT int z_ETagUnit (ODR o, Z_ETagUnit **p, int opt, const char *name);
38 typedef struct Z_ETagPath Z_ETagPath;
39 YAZ_EXPORT int z_ETagPath (ODR o, Z_ETagPath **p, int opt, const char *name);
41 typedef struct Z_OccurValues Z_OccurValues;
42 YAZ_EXPORT int z_OccurValues (ODR o, Z_OccurValues **p, int opt, const char *name);
44 typedef struct Z_Occurrences Z_Occurrences;
45 YAZ_EXPORT int z_Occurrences (ODR o, Z_Occurrences **p, int opt, const char *name);
53 int num_elementSetNames;
54 Z_InternationalString **elementSetNames; /* OPT */
55 Odr_oid *defaultVariantSetId; /* OPT */
56 Z_Variant *defaultVariantRequest; /* OPT */
57 int *defaultTagType; /* OPT */
59 Z_ElementRequest **elements; /* OPT */
62 struct Z_ElementRequestCompositeElementPrimitives {
64 Z_InternationalString **elements;
67 struct Z_ElementRequestCompositeElementSpecs {
69 Z_SimpleElement **elements;
72 struct Z_ElementRequestCompositeElement {
75 Z_ElementRequestCompositeElementPrimitives *primitives;
76 Z_ElementRequestCompositeElementSpecs *specs;
77 #define Z_ElementRequestCompositeElement_primitives 1
78 #define Z_ElementRequestCompositeElement_specs 2
80 Z_ETagPath *deliveryTag;
81 Z_Variant *variantRequest; /* OPT */
84 struct Z_ElementRequest {
87 Z_SimpleElement *simpleElement;
88 Z_ElementRequestCompositeElement *compositeElement;
89 #define Z_ERequest_simpleElement 1
90 #define Z_ERequest_compositeElement 2
94 struct Z_SimpleElement {
96 Z_Variant *variantRequest; /* OPT */
99 struct Z_SpecificTag {
100 int *tagType; /* OPT */
101 Z_StringOrNumeric *tagValue;
102 Z_Occurrences *occurrences; /* OPT */
108 Z_SpecificTag *specificTag;
109 Z_Occurrences *wildThing;
111 #define Z_ETagUnit_specificTag 1
112 #define Z_ETagUnit_wildThing 2
113 #define Z_ETagUnit_wildPath 3
122 struct Z_OccurValues {
124 int *howMany; /* OPT */
127 struct Z_Occurrences {
132 Z_OccurValues *values;
133 #define Z_Occurrences_all 1
134 #define Z_Occurrences_last 2
135 #define Z_Occurrences_values 3