1 /* YC 0.2: Wed Mar 01 10:28:12 CET 2000 */
2 /* Module-H ESFormat-ExportSpecification */
8 #include <yaz/z-core.h>
13 typedef struct Z_ESExportSpecificationEsRequest Z_ESExportSpecificationEsRequest;
14 YAZ_EXPORT int z_ESExportSpecificationEsRequest (ODR o, Z_ESExportSpecificationEsRequest **p, int opt, const char *name);
16 typedef struct Z_ESExportSpecificationTaskPackage Z_ESExportSpecificationTaskPackage;
17 YAZ_EXPORT int z_ESExportSpecificationTaskPackage (ODR o, Z_ESExportSpecificationTaskPackage **p, int opt, const char *name);
19 typedef struct Z_ESExportSpecification Z_ESExportSpecification;
20 YAZ_EXPORT int z_ESExportSpecification (ODR o, Z_ESExportSpecification **p, int opt, const char *name);
22 typedef struct Z_ESOriginPartToKeep Z_ESOriginPartToKeep;
23 YAZ_EXPORT int z_ESOriginPartToKeep (ODR o, Z_ESOriginPartToKeep **p, int opt, const char *name);
25 typedef struct Z_ESDestinationOther Z_ESDestinationOther;
26 YAZ_EXPORT int z_ESDestinationOther (ODR o, Z_ESDestinationOther **p, int opt, const char *name);
28 typedef struct Z_ESDestination Z_ESDestination;
29 YAZ_EXPORT int z_ESDestination (ODR o, Z_ESDestination **p, int opt, const char *name);
36 struct Z_ESExportSpecificationEsRequest {
37 Z_ESOriginPartToKeep *toKeep;
41 struct Z_ESExportSpecificationTaskPackage {
42 Z_ESOriginPartToKeep *originPart;
46 struct Z_ESExportSpecification {
49 Z_ESExportSpecificationEsRequest *esRequest;
50 Z_ESExportSpecificationTaskPackage *taskPackage;
51 #define Z_ESExportSpecification_esRequest 1
52 #define Z_ESExportSpecification_taskPackage 2
56 struct Z_ESOriginPartToKeep {
57 Z_CompSpec *composition;
58 Z_ESDestination *exportDestination;
61 struct Z_ESDestinationOther {
62 Z_InternationalString *vehicle; /* OPT */
63 Z_InternationalString *destination;
66 struct Z_ESDestination {
69 Z_InternationalString *phoneNumber;
70 Z_InternationalString *faxNumber;
71 Z_InternationalString *x400address;
72 Z_InternationalString *emailAddress;
73 Z_InternationalString *pagerNumber;
74 Z_InternationalString *ftpAddress;
75 Z_InternationalString *ftamAddress;
76 Z_InternationalString *printerAddress;
77 Z_ESDestinationOther *other;
78 #define Z_ESDestination_phoneNumber 1
79 #define Z_ESDestination_faxNumber 2
80 #define Z_ESDestination_x400address 3
81 #define Z_ESDestination_emailAddress 4
82 #define Z_ESDestination_pagerNumber 5
83 #define Z_ESDestination_ftpAddress 6
84 #define Z_ESDestination_ftamAddress 7
85 #define Z_ESDestination_printerAddress 8
86 #define Z_ESDestination_other 9