/usr/include/yaz/z-espec1.h is in libyaz4-dev 4.2.30-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | /** \file z-espec1.h
\brief ASN.1 Module ElementSpecificationFormat-eSpec-1
Generated automatically by YAZ ASN.1 Compiler 0.4
*/
#ifndef z_espec1_H
#define z_espec1_H
#include <yaz/odr.h>
#include <yaz/z-grs.h>
#include <yaz/z-core.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Z_Espec1 Z_Espec1;
YAZ_EXPORT int z_Espec1(ODR o, Z_Espec1 **p, int opt, const char *name);
typedef struct Z_ElementRequestCompositeElementPrimitives Z_ElementRequestCompositeElementPrimitives;
YAZ_EXPORT int z_ElementRequestCompositeElementPrimitives(ODR o, Z_ElementRequestCompositeElementPrimitives **p, int opt, const char *name);
typedef struct Z_ElementRequestCompositeElementSpecs Z_ElementRequestCompositeElementSpecs;
YAZ_EXPORT int z_ElementRequestCompositeElementSpecs(ODR o, Z_ElementRequestCompositeElementSpecs **p, int opt, const char *name);
typedef struct Z_ElementRequestCompositeElement Z_ElementRequestCompositeElement;
YAZ_EXPORT int z_ElementRequestCompositeElement(ODR o, Z_ElementRequestCompositeElement **p, int opt, const char *name);
typedef struct Z_ElementRequest Z_ElementRequest;
YAZ_EXPORT int z_ElementRequest(ODR o, Z_ElementRequest **p, int opt, const char *name);
typedef struct Z_SimpleElement Z_SimpleElement;
YAZ_EXPORT int z_SimpleElement(ODR o, Z_SimpleElement **p, int opt, const char *name);
typedef struct Z_SpecificTag Z_SpecificTag;
YAZ_EXPORT int z_SpecificTag(ODR o, Z_SpecificTag **p, int opt, const char *name);
typedef struct Z_ETagUnit Z_ETagUnit;
YAZ_EXPORT int z_ETagUnit(ODR o, Z_ETagUnit **p, int opt, const char *name);
typedef struct Z_ETagPath Z_ETagPath;
YAZ_EXPORT int z_ETagPath(ODR o, Z_ETagPath **p, int opt, const char *name);
typedef struct Z_OccurValues Z_OccurValues;
YAZ_EXPORT int z_OccurValues(ODR o, Z_OccurValues **p, int opt, const char *name);
typedef struct Z_Occurrences Z_Occurrences;
YAZ_EXPORT int z_Occurrences(ODR o, Z_Occurrences **p, int opt, const char *name);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct Z_Espec1 {
int num_elementSetNames;
Z_InternationalString **elementSetNames; /* OPT */
Odr_oid *defaultVariantSetId; /* OPT */
Z_Variant *defaultVariantRequest; /* OPT */
Odr_int *defaultTagType; /* OPT */
int num_elements;
Z_ElementRequest **elements; /* OPT */
};
struct Z_ElementRequestCompositeElementPrimitives {
int num;
Z_InternationalString **elements;
};
struct Z_ElementRequestCompositeElementSpecs {
int num;
Z_SimpleElement **elements;
};
struct Z_ElementRequestCompositeElement {
int which;
union {
Z_ElementRequestCompositeElementPrimitives *primitives;
Z_ElementRequestCompositeElementSpecs *specs;
#define Z_ElementRequestCompositeElement_primitives 1
#define Z_ElementRequestCompositeElement_specs 2
} u;
Z_ETagPath *deliveryTag;
Z_Variant *variantRequest; /* OPT */
};
struct Z_ElementRequest {
int which;
union {
Z_SimpleElement *simpleElement;
Z_ElementRequestCompositeElement *compositeElement;
#define Z_ERequest_simpleElement 1
#define Z_ERequest_compositeElement 2
} u;
};
struct Z_SimpleElement {
Z_ETagPath *path;
Z_Variant *variantRequest; /* OPT */
};
struct Z_SpecificTag {
Odr_int *tagType; /* OPT */
Z_StringOrNumeric *tagValue;
Z_Occurrences *occurrences; /* OPT */
};
struct Z_ETagUnit {
int which;
union {
Z_SpecificTag *specificTag;
Z_Occurrences *wildThing;
Odr_null *wildPath;
#define Z_ETagUnit_specificTag 1
#define Z_ETagUnit_wildThing 2
#define Z_ETagUnit_wildPath 3
} u;
};
struct Z_ETagPath {
int num_tags;
Z_ETagUnit **tags;
};
struct Z_OccurValues {
Odr_int *start;
Odr_int *howMany; /* OPT */
};
struct Z_Occurrences {
int which;
union {
Odr_null *all;
Odr_null *last;
Z_OccurValues *values;
#define Z_Occurrences_all 1
#define Z_Occurrences_last 2
#define Z_Occurrences_values 3
} u;
};
#ifdef __cplusplus
}
#endif
#endif
|