source: trunk/gsdl/packages/yaz/include/yaz/zes-exps.h@ 1343

Last change on this file since 1343 was 1343, checked in by johnmcp, 24 years ago

Added the YAZ toolkit source to the packages directory (for z39.50 stuff)

  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1/* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
2/* Module-H ESFormat-ExportSpecification */
3
4#ifndef zes_exps_H
5#define zes_exps_H
6
7#include <yaz/odr.h>
8#include <yaz/z-core.h>
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct Z_ESExportSpecificationEsRequest Z_ESExportSpecificationEsRequest;
14YAZ_EXPORT int z_ESExportSpecificationEsRequest (ODR o, Z_ESExportSpecificationEsRequest **p, int opt, const char *name);
15
16typedef struct Z_ESExportSpecificationTaskPackage Z_ESExportSpecificationTaskPackage;
17YAZ_EXPORT int z_ESExportSpecificationTaskPackage (ODR o, Z_ESExportSpecificationTaskPackage **p, int opt, const char *name);
18
19typedef struct Z_ESExportSpecification Z_ESExportSpecification;
20YAZ_EXPORT int z_ESExportSpecification (ODR o, Z_ESExportSpecification **p, int opt, const char *name);
21
22typedef struct Z_ESOriginPartToKeep Z_ESOriginPartToKeep;
23YAZ_EXPORT int z_ESOriginPartToKeep (ODR o, Z_ESOriginPartToKeep **p, int opt, const char *name);
24
25typedef struct Z_ESDestinationOther Z_ESDestinationOther;
26YAZ_EXPORT int z_ESDestinationOther (ODR o, Z_ESDestinationOther **p, int opt, const char *name);
27
28typedef struct Z_ESDestination Z_ESDestination;
29YAZ_EXPORT int z_ESDestination (ODR o, Z_ESDestination **p, int opt, const char *name);
30#ifdef __cplusplus
31}
32#endif
33#ifdef __cplusplus
34extern "C" {
35#endif
36struct Z_ESExportSpecificationEsRequest {
37 Z_ESOriginPartToKeep *toKeep;
38 Odr_null *notToKeep;
39};
40
41struct Z_ESExportSpecificationTaskPackage {
42 Z_ESOriginPartToKeep *originPart;
43 Odr_null *targetPart;
44};
45
46struct Z_ESExportSpecification {
47 int which;
48 union {
49 Z_ESExportSpecificationEsRequest *esRequest;
50 Z_ESExportSpecificationTaskPackage *taskPackage;
51#define Z_ESExportSpecification_esRequest 1
52#define Z_ESExportSpecification_taskPackage 2
53 } u;
54};
55
56struct Z_ESOriginPartToKeep {
57 Z_CompSpec *composition;
58 Z_ESDestination *exportDestination;
59};
60
61struct Z_ESDestinationOther {
62 Z_InternationalString *vehicle; /* OPT */
63 Z_InternationalString *destination;
64};
65
66struct Z_ESDestination {
67 int which;
68 union {
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
87 } u;
88};
89
90#ifdef __cplusplus
91}
92#endif
93#endif
Note: See TracBrowser for help on using the repository browser.