1 /* YC 0.2: Wed Mar 01 10:28:12 CET 2000 */
2 /* Module-H ResourceReport-Format-Resource-1 */
8 #include <yaz/z-core.h>
13 typedef struct Z_ResourceReport1 Z_ResourceReport1;
14 YAZ_EXPORT int z_ResourceReport1 (ODR o, Z_ResourceReport1 **p, int opt, const char *name);
16 typedef struct Z_Estimate1 Z_Estimate1;
17 YAZ_EXPORT int z_Estimate1 (ODR o, Z_Estimate1 **p, int opt, const char *name);
19 typedef int Z_EstimateType;
20 YAZ_EXPORT int z_EstimateType (ODR o, Z_EstimateType **p, int opt, const char *name);
27 struct Z_ResourceReport1 {
29 Z_Estimate1 **estimates;
30 Z_InternationalString *message;
36 int *currency_code; /* OPT */
39 #define Z_EstimateType_currentSearchRecords 1
40 #define Z_EstimateType_finalSearchRecords 2
41 #define Z_EstimateType_currentPresentRecords 3
42 #define Z_EstimateType_finalPresentRecords 4
43 #define Z_EstimateType_currentOpTimeProcessing 5
44 #define Z_EstimateType_finalOpTimeProcessing 6
45 #define Z_EstimateType_currentAssocTime 7
46 #define Z_EstimateType_currentOperationCost 8
47 #define Z_EstimateType_finalOperationCost 9
48 #define Z_EstimateType_currentAssocCost 10
49 #define Z_EstimateType_finalOpTimeElapsed 11
50 #define Z_EstimateType_percentComplete 12
51 #define Z_EstimateType_currentSearchAssocCost 13
52 #define Z_EstimateType_currentPresentAssocCost 14
53 #define Z_EstimateType_currentConnectAssocCost 15
54 #define Z_EstimateType_currentOtherAssocCost 16