YAZ  5.23.1
zes-order.h
Go to the documentation of this file.
1 
7 #ifndef zes_order_H
8 #define zes_order_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_IORequest Z_IORequest;
17 YAZ_EXPORT int z_IORequest(ODR o, Z_IORequest **p, int opt, const char *name);
18 
20 YAZ_EXPORT int z_IOTaskPackage(ODR o, Z_IOTaskPackage **p, int opt, const char *name);
21 
23 YAZ_EXPORT int z_IOItemOrder(ODR o, Z_IOItemOrder **p, int opt, const char *name);
24 
25 typedef struct Z_IOContact Z_IOContact;
26 YAZ_EXPORT int z_IOContact(ODR o, Z_IOContact **p, int opt, const char *name);
27 
28 typedef struct Z_IOBilling Z_IOBilling;
29 YAZ_EXPORT int z_IOBilling(ODR o, Z_IOBilling **p, int opt, const char *name);
30 
32 YAZ_EXPORT int z_IOOriginPartToKeep(ODR o, Z_IOOriginPartToKeep **p, int opt, const char *name);
33 
35 YAZ_EXPORT int z_IOCreditCardInfo(ODR o, Z_IOCreditCardInfo **p, int opt, const char *name);
36 
38 YAZ_EXPORT int z_IOResultSetItem(ODR o, Z_IOResultSetItem **p, int opt, const char *name);
39 
41 YAZ_EXPORT int z_IOOriginPartNotToKeep(ODR o, Z_IOOriginPartNotToKeep **p, int opt, const char *name);
42 
44 YAZ_EXPORT int z_IOTargetPart(ODR o, Z_IOTargetPart **p, int opt, const char *name);
45 #ifdef __cplusplus
46 }
47 #endif
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 struct Z_IORequest {
54 };
55 
59 };
60 
61 struct Z_IOItemOrder {
62  int which;
63  union {
66 #define Z_IOItemOrder_esRequest 1
67 #define Z_IOItemOrder_taskPackage 2
68  } u;
69 };
70 
71 struct Z_IOContact {
75 };
76 
77 struct Z_IOBilling {
78  int which;
79  union {
87 #define Z_IOBilling_billInvoice 1
88 #define Z_IOBilling_prepay 2
89 #define Z_IOBilling_depositAccount 3
90 #define Z_IOBilling_creditCard 4
91 #define Z_IOBilling_cardInfoPreviouslySupplied 5
92 #define Z_IOBilling_privateKnown 6
93 #define Z_IOBilling_privateNotKnown 7
94  } u;
97 };
98 
101  Z_IOContact *contact; /* OPT */
103 };
104 
109 };
110 
114 };
115 
119 };
120 
124 #define Z_IOTargetPart_notReceived 1
125 #define Z_IOTargetPart_loanQueue 2
126 #define Z_IOTargetPart_forwarded 3
127 #define Z_IOTargetPart_unfilledCopyright 4
128 #define Z_IOTargetPart_filledCopyright 5
130 };
131 
132 #ifdef __cplusplus
133 }
134 #endif
135 #endif
Header for ODR (Open Data Representation)
char Z_InternationalString
Definition: z-core.h:301
int z_IOOriginPartToKeep(ODR o, Z_IOOriginPartToKeep **p, int opt, const char *name)
Definition: zes-order.c:100
Z_InternationalString * expirationDate
Definition: zes-order.h:107
ASN.1 Module Z39-50-APDU-1995.
int z_IORequest(ODR o, Z_IORequest **p, int opt, const char *name)
Definition: zes-order.c:12
Z_External * itemRequest
Definition: zes-order.h:122
Z_IOTaskPackage * taskPackage
Definition: zes-order.h:65
Odr_null * cardInfoPreviouslySupplied
Definition: zes-order.h:84
int z_IOOriginPartNotToKeep(ODR o, Z_IOOriginPartNotToKeep **p, int opt, const char *name)
Definition: zes-order.c:140
Z_InternationalString * nameOnCard
Definition: zes-order.h:106
Odr_int * item
Definition: zes-order.h:113
Odr_null * billInvoice
Definition: zes-order.h:80
char * name
Definition: initopt.c:18
Z_IOCreditCardInfo * creditCard
Definition: zes-order.h:83
int z_IOContact(ODR o, Z_IOContact **p, int opt, const char *name)
Definition: zes-order.c:54
Z_InternationalString * email
Definition: zes-order.h:74
int z_IOTaskPackage(ODR o, Z_IOTaskPackage **p, int opt, const char *name)
Definition: zes-order.c:24
nmem_int_t Odr_int
Definition: odr.h:47
Z_InternationalString * resultSetId
Definition: zes-order.h:112
Z_External * statusOrErrorReport
Definition: zes-order.h:123
Z_IOTargetPart * targetPart
Definition: zes-order.h:58
int z_IOItemOrder(ODR o, Z_IOItemOrder **p, int opt, const char *name)
Definition: zes-order.c:36
int z_IOTargetPart(ODR o, Z_IOTargetPart **p, int opt, const char *name)
Definition: zes-order.c:152
Z_IOOriginPartNotToKeep * notToKeep
Definition: zes-order.h:53
int z_IOBilling(ODR o, Z_IOBilling **p, int opt, const char *name)
Definition: zes-order.c:68
Z_External * supplDescription
Definition: zes-order.h:100
int z_IOResultSetItem(ODR o, Z_IOResultSetItem **p, int opt, const char *name)
Definition: zes-order.c:128
Z_InternationalString * customerPONumber
Definition: zes-order.h:96
Z_External * itemRequest
Definition: zes-order.h:118
Odr_null * privateKnown
Definition: zes-order.h:85
Odr_int * auxiliaryStatus
Definition: zes-order.h:129
Z_IORequest * esRequest
Definition: zes-order.h:64
Odr_null * depositAccount
Definition: zes-order.h:82
Definition: odr.h:124
Z_External * privateNotKnown
Definition: zes-order.h:86
int z_IOCreditCardInfo(ODR o, Z_IOCreditCardInfo **p, int opt, const char *name)
Definition: zes-order.c:114
Z_InternationalString * name
Definition: zes-order.h:72
int opt
Definition: initopt.c:19
structure for all known EXTERNALs
Definition: prt-ext.h:58
Z_InternationalString * phone
Definition: zes-order.h:73
Z_IOOriginPartToKeep * originPart
Definition: zes-order.h:57
Z_InternationalString * customerReference
Definition: zes-order.h:95
Odr_null * prepay
Definition: zes-order.h:81
Z_InternationalString * cardNumber
Definition: zes-order.h:108
Z_IOContact * contact
Definition: zes-order.h:101
Z_IOOriginPartToKeep * toKeep
Definition: zes-order.h:52
Z_IOResultSetItem * resultSetItem
Definition: zes-order.h:117
void Odr_null
Definition: odr.h:105
Z_IOBilling * addlBilling
Definition: zes-order.h:102