source: trunk/gsdl/packages/yaz/include/yaz/z-rrf1.h@ 1343

Last change on this file since 1343 was 1343, checked in by johnmcp, 24 years ago

Added the YAZ toolkit source to the packages directory (for z39.50 stuff)

  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1/* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
2/* Module-H ResourceReport-Format-Resource-1 */
3
4#ifndef z_rrf1_H
5#define z_rrf1_H
6
7#include <yaz/odr.h>
8#include <yaz/z-core.h>
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct Z_ResourceReport1 Z_ResourceReport1;
14YAZ_EXPORT int z_ResourceReport1 (ODR o, Z_ResourceReport1 **p, int opt, const char *name);
15
16typedef struct Z_Estimate1 Z_Estimate1;
17YAZ_EXPORT int z_Estimate1 (ODR o, Z_Estimate1 **p, int opt, const char *name);
18
19typedef int Z_EstimateType;
20YAZ_EXPORT int z_EstimateType (ODR o, Z_EstimateType **p, int opt, const char *name);
21#ifdef __cplusplus
22}
23#endif
24#ifdef __cplusplus
25extern "C" {
26#endif
27struct Z_ResourceReport1 {
28 int num_estimates;
29 Z_Estimate1 **estimates;
30 Z_InternationalString *message;
31};
32
33struct Z_Estimate1 {
34 Z_EstimateType *type;
35 int *value;
36 int *currency_code; /* OPT */
37};
38
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
55
56#ifdef __cplusplus
57}
58#endif
59#endif
Note: See TracBrowser for help on using the repository browser.