1 /* YC 0.2: Tue Feb 29 16:45:07 CET 2000 */
2 /* Module-H UserInfoFormat-searchResult-1 */
8 #include <yaz/z-core.h>
13 typedef struct Z_SearchInfoReport_s Z_SearchInfoReport_s;
14 YAZ_EXPORT int z_SearchInfoReport_s (ODR o, Z_SearchInfoReport_s **p, int opt, const char *name);
16 typedef struct Z_SearchInfoReport Z_SearchInfoReport;
17 YAZ_EXPORT int z_SearchInfoReport (ODR o, Z_SearchInfoReport **p, int opt, const char *name);
19 typedef struct Z_ResultsByDB_sList Z_ResultsByDB_sList;
20 YAZ_EXPORT int z_ResultsByDB_sList (ODR o, Z_ResultsByDB_sList **p, int opt, const char *name);
22 typedef struct Z_ResultsByDB_s Z_ResultsByDB_s;
23 YAZ_EXPORT int z_ResultsByDB_s (ODR o, Z_ResultsByDB_s **p, int opt, const char *name);
25 typedef struct Z_ResultsByDB Z_ResultsByDB;
26 YAZ_EXPORT int z_ResultsByDB (ODR o, Z_ResultsByDB **p, int opt, const char *name);
28 typedef struct Z_QueryExpressionTerm Z_QueryExpressionTerm;
29 YAZ_EXPORT int z_QueryExpressionTerm (ODR o, Z_QueryExpressionTerm **p, int opt, const char *name);
31 typedef struct Z_QueryExpression Z_QueryExpression;
32 YAZ_EXPORT int z_QueryExpression (ODR o, Z_QueryExpression **p, int opt, const char *name);
39 struct Z_SearchInfoReport_s {
40 Z_InternationalString *subqueryId; /* OPT */
42 Z_QueryExpression *subqueryExpression; /* OPT */
43 Z_QueryExpression *subqueryInterpretation; /* OPT */
44 Z_QueryExpression *subqueryRecommendation; /* OPT */
45 int *subqueryCount; /* OPT */
46 Z_IntUnit *subqueryWeight; /* OPT */
47 Z_ResultsByDB *resultsByDB; /* OPT */
50 struct Z_SearchInfoReport {
52 Z_SearchInfoReport_s **elements;
55 struct Z_ResultsByDB_sList {
57 Z_DatabaseName **elements;
60 struct Z_ResultsByDB_s {
64 Z_ResultsByDB_sList *list;
65 #define Z_ResultsByDB_s_all 1
66 #define Z_ResultsByDB_s_list 2
69 Z_InternationalString *resultSetName; /* OPT */
72 struct Z_ResultsByDB {
74 Z_ResultsByDB_s **elements;
77 struct Z_QueryExpressionTerm {
79 Z_InternationalString *termComment; /* OPT */
82 struct Z_QueryExpression {
85 Z_QueryExpressionTerm *term;
87 #define Z_QueryExpression_term 1
88 #define Z_QueryExpression_query 2