Initial commit
[yaz4j-moved-to-github.git] / dependencies / yaz_3.0.14 / include / yaz / zes-exps.h
1 /** \file zes-exps.h
2     \brief ASN.1 Module ESFormat-ExportSpecification
3
4     Generated automatically by YAZ ASN.1 Compiler 0.4
5 */
6
7 #ifndef zes_exps_H
8 #define zes_exps_H
9
10 #include <yaz/odr.h>
11 #include <yaz/z-core.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 typedef struct Z_ESExportSpecificationEsRequest Z_ESExportSpecificationEsRequest;
17 YAZ_EXPORT int z_ESExportSpecificationEsRequest (ODR o, Z_ESExportSpecificationEsRequest **p, int opt, const char *name);
18
19 typedef struct Z_ESExportSpecificationTaskPackage Z_ESExportSpecificationTaskPackage;
20 YAZ_EXPORT int z_ESExportSpecificationTaskPackage (ODR o, Z_ESExportSpecificationTaskPackage **p, int opt, const char *name);
21
22 typedef struct Z_ESExportSpecification Z_ESExportSpecification;
23 YAZ_EXPORT int z_ESExportSpecification (ODR o, Z_ESExportSpecification **p, int opt, const char *name);
24
25 typedef struct Z_ESOriginPartToKeep Z_ESOriginPartToKeep;
26 YAZ_EXPORT int z_ESOriginPartToKeep (ODR o, Z_ESOriginPartToKeep **p, int opt, const char *name);
27
28 typedef struct Z_ESDestinationOther Z_ESDestinationOther;
29 YAZ_EXPORT int z_ESDestinationOther (ODR o, Z_ESDestinationOther **p, int opt, const char *name);
30
31 typedef struct Z_ESDestination Z_ESDestination;
32 YAZ_EXPORT int z_ESDestination (ODR o, Z_ESDestination **p, int opt, const char *name);
33 #ifdef __cplusplus
34 }
35 #endif
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 struct Z_ESExportSpecificationEsRequest {
40         Z_ESOriginPartToKeep *toKeep;
41         Odr_null *notToKeep;
42 };
43
44 struct Z_ESExportSpecificationTaskPackage {
45         Z_ESOriginPartToKeep *originPart;
46         Odr_null *targetPart;
47 };
48
49 struct Z_ESExportSpecification {
50         int which;
51         union {
52                 Z_ESExportSpecificationEsRequest *esRequest;
53                 Z_ESExportSpecificationTaskPackage *taskPackage;
54 #define Z_ESExportSpecification_esRequest 1
55 #define Z_ESExportSpecification_taskPackage 2
56         } u;
57 };
58
59 struct Z_ESOriginPartToKeep {
60         Z_CompSpec *composition;
61         Z_ESDestination *exportDestination;
62 };
63
64 struct Z_ESDestinationOther {
65         Z_InternationalString *vehicle; /* OPT */
66         Z_InternationalString *destination;
67 };
68
69 struct Z_ESDestination {
70         int which;
71         union {
72                 Z_InternationalString *phoneNumber;
73                 Z_InternationalString *faxNumber;
74                 Z_InternationalString *x400address;
75                 Z_InternationalString *emailAddress;
76                 Z_InternationalString *pagerNumber;
77                 Z_InternationalString *ftpAddress;
78                 Z_InternationalString *ftamAddress;
79                 Z_InternationalString *printerAddress;
80                 Z_ESDestinationOther *other;
81 #define Z_ESDestination_phoneNumber 1
82 #define Z_ESDestination_faxNumber 2
83 #define Z_ESDestination_x400address 3
84 #define Z_ESDestination_emailAddress 4
85 #define Z_ESDestination_pagerNumber 5
86 #define Z_ESDestination_ftpAddress 6
87 #define Z_ESDestination_ftamAddress 7
88 #define Z_ESDestination_printerAddress 8
89 #define Z_ESDestination_other 9
90         } u;
91 };
92
93 #ifdef __cplusplus
94 }
95 #endif
96 #endif