source: trunk/gsdl/packages/yaz/include/yaz/z-uifr1.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: 2.4 KB
Line 
1/* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
2/* Module-H UserInfoFormat-searchResult-1 */
3
4#ifndef z_uifr1_H
5#define z_uifr1_H
6
7#include <yaz/odr.h>
8#include <yaz/z-core.h>
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct Z_SearchInfoReport_s Z_SearchInfoReport_s;
14YAZ_EXPORT int z_SearchInfoReport_s (ODR o, Z_SearchInfoReport_s **p, int opt, const char *name);
15
16typedef struct Z_SearchInfoReport Z_SearchInfoReport;
17YAZ_EXPORT int z_SearchInfoReport (ODR o, Z_SearchInfoReport **p, int opt, const char *name);
18
19typedef struct Z_ResultsByDB_sList Z_ResultsByDB_sList;
20YAZ_EXPORT int z_ResultsByDB_sList (ODR o, Z_ResultsByDB_sList **p, int opt, const char *name);
21
22typedef struct Z_ResultsByDB_s Z_ResultsByDB_s;
23YAZ_EXPORT int z_ResultsByDB_s (ODR o, Z_ResultsByDB_s **p, int opt, const char *name);
24
25typedef struct Z_ResultsByDB Z_ResultsByDB;
26YAZ_EXPORT int z_ResultsByDB (ODR o, Z_ResultsByDB **p, int opt, const char *name);
27
28typedef struct Z_QueryExpressionTerm Z_QueryExpressionTerm;
29YAZ_EXPORT int z_QueryExpressionTerm (ODR o, Z_QueryExpressionTerm **p, int opt, const char *name);
30
31typedef struct Z_QueryExpression Z_QueryExpression;
32YAZ_EXPORT int z_QueryExpression (ODR o, Z_QueryExpression **p, int opt, const char *name);
33#ifdef __cplusplus
34}
35#endif
36#ifdef __cplusplus
37extern "C" {
38#endif
39struct Z_SearchInfoReport_s {
40 Z_InternationalString *subqueryId; /* OPT */
41 bool_t *fullQuery;
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 */
48};
49
50struct Z_SearchInfoReport {
51 int num;
52 Z_SearchInfoReport_s **elements;
53};
54
55struct Z_ResultsByDB_sList {
56 int num;
57 Z_DatabaseName **elements;
58};
59
60struct Z_ResultsByDB_s {
61 int which;
62 union {
63 Odr_null *all;
64 Z_ResultsByDB_sList *list;
65#define Z_ResultsByDB_s_all 1
66#define Z_ResultsByDB_s_list 2
67 } u;
68 int *count; /* OPT */
69 Z_InternationalString *resultSetName; /* OPT */
70};
71
72struct Z_ResultsByDB {
73 int num;
74 Z_ResultsByDB_s **elements;
75};
76
77struct Z_QueryExpressionTerm {
78 Z_Term *queryTerm;
79 Z_InternationalString *termComment; /* OPT */
80};
81
82struct Z_QueryExpression {
83 int which;
84 union {
85 Z_QueryExpressionTerm *term;
86 Z_Query *query;
87#define Z_QueryExpression_term 1
88#define Z_QueryExpression_query 2
89 } u;
90};
91
92#ifdef __cplusplus
93}
94#endif
95#endif
Note: See TracBrowser for help on using the repository browser.