YAZ  5.23.1
z-uifr1.h
Go to the documentation of this file.
1 
7 #ifndef z_uifr1_H
8 #define z_uifr1_H
9 
10 #include <yaz/odr.h>
11 #include <yaz/z-core.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
17 YAZ_EXPORT int z_SearchInfoReport_s(ODR o, Z_SearchInfoReport_s **p, int opt, const char *name);
18 
20 YAZ_EXPORT int z_SearchInfoReport(ODR o, Z_SearchInfoReport **p, int opt, const char *name);
21 
23 YAZ_EXPORT int z_ResultsByDB_sList(ODR o, Z_ResultsByDB_sList **p, int opt, const char *name);
24 
26 YAZ_EXPORT int z_ResultsByDB_s(ODR o, Z_ResultsByDB_s **p, int opt, const char *name);
27 
29 YAZ_EXPORT int z_ResultsByDB(ODR o, Z_ResultsByDB **p, int opt, const char *name);
30 
32 YAZ_EXPORT int z_QueryExpressionTerm(ODR o, Z_QueryExpressionTerm **p, int opt, const char *name);
33 
35 YAZ_EXPORT int z_QueryExpression(ODR o, Z_QueryExpression **p, int opt, const char *name);
36 #ifdef __cplusplus
37 }
38 #endif
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
48  Odr_int *subqueryCount; /* OPT */
51 };
52 
54  int num;
56 };
57 
59  int num;
61 };
62 
64  int which;
65  union {
68 #define Z_ResultsByDB_s_all 1
69 #define Z_ResultsByDB_s_list 2
70  } u;
71  Odr_int *count; /* OPT */
73 };
74 
75 struct Z_ResultsByDB {
76  int num;
78 };
79 
83 };
84 
86  int which;
87  union {
90 #define Z_QueryExpression_term 1
91 #define Z_QueryExpression_query 2
92  } u;
93 };
94 
95 #ifdef __cplusplus
96 }
97 #endif
98 #endif
Header for ODR (Open Data Representation)
char Z_InternationalString
Definition: z-core.h:301
ASN.1 Module Z39-50-APDU-1995.
Z_InternationalString * subqueryId
Definition: z-uifr1.h:43
Z_DatabaseName ** elements
Definition: z-uifr1.h:60
Z_QueryExpression * subqueryRecommendation
Definition: z-uifr1.h:47
Odr_null * all
Definition: z-uifr1.h:66
Z_ResultsByDB * resultsByDB
Definition: z-uifr1.h:50
Odr_int * count
Definition: z-uifr1.h:71
char * name
Definition: initopt.c:18
Z_QueryExpressionTerm * term
Definition: z-uifr1.h:88
Z_InternationalString * resultSetName
Definition: z-uifr1.h:72
Z_SearchInfoReport_s ** elements
Definition: z-uifr1.h:55
int z_SearchInfoReport(ODR o, Z_SearchInfoReport **p, int opt, const char *name)
Definition: z-uifr1.c:36
nmem_int_t Odr_int
Definition: odr.h:47
int z_QueryExpressionTerm(ODR o, Z_QueryExpressionTerm **p, int opt, const char *name)
Definition: z-uifr1.c:94
Z_ResultsByDB_s ** elements
Definition: z-uifr1.h:77
int z_ResultsByDB_sList(ODR o, Z_ResultsByDB_sList **p, int opt, const char *name)
Definition: z-uifr1.c:48
Z_QueryExpression * subqueryInterpretation
Definition: z-uifr1.h:46
Definition: z-core.h:536
Odr_int * subqueryCount
Definition: z-uifr1.h:48
nmem_bool_t Odr_bool
Definition: odr.h:48
Z_InternationalString Z_DatabaseName
Definition: z-core.h:310
Definition: odr.h:124
int z_ResultsByDB_s(ODR o, Z_ResultsByDB_s **p, int opt, const char *name)
Definition: z-uifr1.c:60
Z_QueryExpression * subqueryExpression
Definition: z-uifr1.h:45
int z_SearchInfoReport_s(ODR o, Z_SearchInfoReport_s **p, int opt, const char *name)
Definition: z-uifr1.c:12
int opt
Definition: initopt.c:19
int z_ResultsByDB(ODR o, Z_ResultsByDB **p, int opt, const char *name)
Definition: z-uifr1.c:82
Z_ResultsByDB_sList * list
Definition: z-uifr1.h:67
Z_Term * queryTerm
Definition: z-uifr1.h:81
int z_QueryExpression(ODR o, Z_QueryExpression **p, int opt, const char *name)
Definition: z-uifr1.c:106
Z_IntUnit * subqueryWeight
Definition: z-uifr1.h:49
Z_InternationalString * termComment
Definition: z-uifr1.h:82
Z_Query * query
Definition: z-uifr1.h:89
Odr_bool * fullQuery
Definition: z-uifr1.h:44
void Odr_null
Definition: odr.h:105