YAZ  5.34.0
z-rrf1.h
Go to the documentation of this file.
1 
7 #ifndef z_rrf1_H
8 #define z_rrf1_H
9 
10 #include <yaz/odr.h>
11 #include <yaz/z-core.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
17 YAZ_EXPORT int z_ResourceReport1(ODR o, Z_ResourceReport1 **p, int opt, const char *name);
18 
19 typedef struct Z_Estimate1 Z_Estimate1;
20 YAZ_EXPORT int z_Estimate1(ODR o, Z_Estimate1 **p, int opt, const char *name);
21 
23 YAZ_EXPORT int z_EstimateType(ODR o, Z_EstimateType **p, int opt, const char *name);
24 #ifdef __cplusplus
25 }
26 #endif
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
34 };
35 
36 struct Z_Estimate1 {
39  Odr_int *currency_code; /* OPT */
40 };
41 
42 #define Z_EstimateType_currentSearchRecords 1
43 #define Z_EstimateType_finalSearchRecords 2
44 #define Z_EstimateType_currentPresentRecords 3
45 #define Z_EstimateType_finalPresentRecords 4
46 #define Z_EstimateType_currentOpTimeProcessing 5
47 #define Z_EstimateType_finalOpTimeProcessing 6
48 #define Z_EstimateType_currentAssocTime 7
49 #define Z_EstimateType_currentOperationCost 8
50 #define Z_EstimateType_finalOperationCost 9
51 #define Z_EstimateType_currentAssocCost 10
52 #define Z_EstimateType_finalOpTimeElapsed 11
53 #define Z_EstimateType_percentComplete 12
54 #define Z_EstimateType_currentSearchAssocCost 13
55 #define Z_EstimateType_currentPresentAssocCost 14
56 #define Z_EstimateType_currentConnectAssocCost 15
57 #define Z_EstimateType_currentOtherAssocCost 16
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 #endif
int opt
Definition: initopt.c:19
char * name
Definition: initopt.c:18
Header for ODR (Open Data Representation)
nmem_int_t Odr_int
Definition: odr.h:47
Z_EstimateType * type
Definition: z-rrf1.h:37
Odr_int * value
Definition: z-rrf1.h:38
Odr_int * currency_code
Definition: z-rrf1.h:39
int num_estimates
Definition: z-rrf1.h:31
Z_Estimate1 ** estimates
Definition: z-rrf1.h:32
Z_InternationalString * message
Definition: z-rrf1.h:33
Definition: odr.h:125
ASN.1 Module Z39-50-APDU-1995.
char Z_InternationalString
Definition: z-core.h:301
Odr_int Z_EstimateType
Definition: z-rrf1.h:22
int z_Estimate1(ODR o, Z_Estimate1 **p, int opt, const char *name)
Definition: z-rrf1.c:25
int z_EstimateType(ODR o, Z_EstimateType **p, int opt, const char *name)
Definition: z-rrf1.c:39
int z_ResourceReport1(ODR o, Z_ResourceReport1 **p, int opt, const char *name)
Definition: z-rrf1.c:12