\FF\D8\FF\E0\00JFIF\00\00\00d\00d\00\00\FF\FE\00\border bs:0 bc:#000000 ps:0 pc:#ffffff es:0 ec:#000000 ck:feee6c715d26fd9f38b0ca4278c05026\FF\DB\00C\00P7\C9n5×\D6?\BDê\9Ds\EBp\9F[`8m\B7)o\B5\E8\E6I\99\FE3]]A2\BA\8Cw\D6E\93\\DEv\C8\009\F2\F1NI?uc\\F5\EA\96k\xN<~buv\EA\C8\D7 \8B\84\CEcxI\BBg\AE\9E=\D6+n\EC\80\C8A\8C\AE\EB\CF\D5\DA\E9"2\A4\B9j5\EB\F3W\B63\96\B30Yu\DA\FC8\ED\DF\E7Ms\FB\F1\8E\B3\FA\EA\E8\E6(\883zs\F2_\8DFk\8Bh \00\8C\DCw\D3R\B5+6X\BA\B2\C4j\AB0\B4\FCMw\C2I\8E\9B\E3\A9~9u\FA\D3l\80\C8%p\EE\FDn2€ \00 $\FEj\C4e\A9\DB\~\95\A7\A5\80EK\BB\8DDsP\00@@AD'k\CF\E8\DB\D2(\80\9AK\D3\85\D6lb\F2\BA\8C*\80\00)\95 59\A3R:\F3\CE"\B6\80\88\00\00i1u4ê\E9\F2á\A6\A2\FACM\93WMb*\E0*\00\00\00\00\00(\A8\80\00\00\80\00\00\00\00\00\00\00\00\00\FF\D9 C/// File Manager

File Manager

Path: /usr/include/yaz/

Viewing File: z-espec1.h

/** \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