Initial commit
[yaz4j-moved-to-github.git] / dependencies / yaz-2.1.28 / include / yaz / z-rrf1.h
1 /** \file z-rrf1.h
2     \brief ASN.1 Module ResourceReport-Format-Resource-1
3
4     Generated automatically by YAZ ASN.1 Compiler 0.4
5 */
6
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
16 typedef struct Z_ResourceReport1 Z_ResourceReport1;
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
22 typedef int  Z_EstimateType;
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
30 struct Z_ResourceReport1 {
31         int num_estimates;
32         Z_Estimate1 **estimates;
33         Z_InternationalString *message;
34 };
35
36 struct Z_Estimate1 {
37         Z_EstimateType *type;
38         int *value;
39         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