00001 00007 #ifndef z_oclcui_H 00008 #define z_oclcui_H 00009 00010 #include <yaz/odr.h> 00011 #ifdef __cplusplus 00012 extern "C" { 00013 #endif 00014 00015 typedef struct Z_OCLC_UserInformation Z_OCLC_UserInformation; 00016 YAZ_EXPORT int z_OCLC_UserInformation (ODR o, Z_OCLC_UserInformation **p, int opt, const char *name); 00017 00018 typedef char Z_DBName; 00019 YAZ_EXPORT int z_DBName (ODR o, Z_DBName **p, int opt, const char *name); 00020 #ifdef __cplusplus 00021 } 00022 #endif 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 struct Z_OCLC_UserInformation { 00027 char *motd; /* OPT */ 00028 int num_dblist; 00029 Z_DBName **dblist; /* OPT */ 00030 Odr_bool *failReason; /* OPT */ 00031 Odr_int *code; /* OPT */ 00032 char *text; /* OPT */ 00033 }; 00034 00035 00036 00037 #ifdef __cplusplus 00038 } 00039 #endif 00040 #endif
1.6.3