YAZ  5.34.0
zes-exps.h
Go to the documentation of this file.
1 
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 
18 
21 
23 YAZ_EXPORT int z_ESExportSpecification(ODR o, Z_ESExportSpecification **p, int opt, const char *name);
24 
26 YAZ_EXPORT int z_ESOriginPartToKeep(ODR o, Z_ESOriginPartToKeep **p, int opt, const char *name);
27 
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
42 };
43 
47 };
48 
50  int which;
51  union {
54 #define Z_ESExportSpecification_esRequest 1
55 #define Z_ESExportSpecification_taskPackage 2
56  } u;
57 };
58 
62 };
63 
67 };
68 
70  int which;
71  union {
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
int opt
Definition: initopt.c:19
char * name
Definition: initopt.c:18
Header for ODR (Open Data Representation)
void Odr_null
Definition: odr.h:105
Z_InternationalString * vehicle
Definition: zes-exps.h:65
Z_InternationalString * destination
Definition: zes-exps.h:66
Z_InternationalString * phoneNumber
Definition: zes-exps.h:72
Z_InternationalString * emailAddress
Definition: zes-exps.h:75
Z_InternationalString * ftamAddress
Definition: zes-exps.h:78
Z_InternationalString * x400address
Definition: zes-exps.h:74
Z_InternationalString * pagerNumber
Definition: zes-exps.h:76
Z_ESDestinationOther * other
Definition: zes-exps.h:80
union Z_ESDestination::@114 u
Z_InternationalString * faxNumber
Definition: zes-exps.h:73
Z_InternationalString * ftpAddress
Definition: zes-exps.h:77
Z_InternationalString * printerAddress
Definition: zes-exps.h:79
Z_ESOriginPartToKeep * toKeep
Definition: zes-exps.h:40
Z_ESOriginPartToKeep * originPart
Definition: zes-exps.h:45
Z_ESExportSpecificationEsRequest * esRequest
Definition: zes-exps.h:52
union Z_ESExportSpecification::@113 u
Z_ESExportSpecificationTaskPackage * taskPackage
Definition: zes-exps.h:53
Z_ESDestination * exportDestination
Definition: zes-exps.h:61
Z_CompSpec * composition
Definition: zes-exps.h:60
Definition: odr.h:125
ASN.1 Module Z39-50-APDU-1995.
char Z_InternationalString
Definition: z-core.h:301
int z_ESDestination(ODR o, Z_ESDestination **p, int opt, const char *name)
Definition: zes-exps.c:78
int z_ESDestinationOther(ODR o, Z_ESDestinationOther **p, int opt, const char *name)
Definition: zes-exps.c:66
int z_ESExportSpecification(ODR o, Z_ESExportSpecification **p, int opt, const char *name)
Definition: zes-exps.c:36
int z_ESExportSpecificationTaskPackage(ODR o, Z_ESExportSpecificationTaskPackage **p, int opt, const char *name)
Definition: zes-exps.c:24
int z_ESOriginPartToKeep(ODR o, Z_ESOriginPartToKeep **p, int opt, const char *name)
Definition: zes-exps.c:54
int z_ESExportSpecificationEsRequest(ODR o, Z_ESExportSpecificationEsRequest **p, int opt, const char *name)
Definition: zes-exps.c:12