00001 00007 #ifndef z_rrf2_H 00008 #define z_rrf2_H 00009 00010 #include <yaz/odr.h> 00011 #include <yaz/z-core.h> 00012 #ifdef __cplusplus 00013 extern "C" { 00014 #endif 00015 00016 typedef struct Z_ResourceReport2 Z_ResourceReport2; 00017 YAZ_EXPORT int z_ResourceReport2 (ODR o, Z_ResourceReport2 **p, int opt, const char *name); 00018 00019 typedef struct Z_Estimate2 Z_Estimate2; 00020 YAZ_EXPORT int z_Estimate2 (ODR o, Z_Estimate2 **p, int opt, const char *name); 00021 #ifdef __cplusplus 00022 } 00023 #endif 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 struct Z_ResourceReport2 { 00028 int num_estimates; 00029 Z_Estimate2 **estimates; /* OPT */ 00030 Z_InternationalString *message; /* OPT */ 00031 }; 00032 00033 struct Z_Estimate2 { 00034 Z_StringOrNumeric *type; 00035 Z_IntUnit *value; 00036 }; 00037 00038 #ifdef __cplusplus 00039 } 00040 #endif 00041 #endif
1.5.6