1 /* $Id: zing.h,v 1.1 2003-01-06 08:20:28 adam Exp $
5 This file is part of the YAZ toolkit.
7 See file LICENSE for details.
9 //gsoap zs service name: SRW
10 //gsoap zs service encoding: literal
11 //gsoap zs service namespace: http://www.loc.gov/zing/srw/v1.0/
12 //gsoap zs schema namespace: http://www.loc.gov/zing/srw/v1.0/
13 //gsoap xcql schema namespace: http://www.loc.gov/zing/cql/v1.0/xcql/
14 //gsoap xsort schema namespace: http://www.loc.gov/zing/srw/v1.0/xsortkeys/
15 //gsoap diag schema namespace: http://www.loc.gov/zing/srw/v1.0/diagnostic/
17 typedef char *xsd__string;
18 typedef int xsd__integer;
19 typedef int xsd__boolean;
21 typedef xsd__string zs__idType;
24 struct zs__recordType {
25 xsd__string recordSchema;
26 xsd__string recordData;
27 xsd__integer recordPosition 0;
32 struct zs__recordType **record;
35 struct diag__diagnosticType {
37 xsd__string details 0;
40 struct zs__diagnostics {
41 int __sizeDiagnostics;
42 struct diag__diagnosticType **diagnostic;
45 struct zs__searchRetrieveResponse {
46 xsd__integer numberOfRecords;
47 xsd__string resultSetId 1;
48 xsd__integer resultSetIdleTime 0;
50 struct zs__records records 0;
51 struct zs__diagnostics diagnostics 0;
52 xsd__integer *nextRecordPosition 0;
53 xsd__string debugInfo;
56 struct xcql__prefixType {
58 xsd__string identifier;
61 struct xcql__prefixesType {
63 struct xcql__prefixType **prefix;
66 struct xcql__relationType {
68 struct xcql__modifiersType *modifiers 0;
71 struct xcql__searchClauseType {
72 struct xcql__prefixesType *prefixes 0;
74 struct xcql__relationType *relation 0;
78 struct xcql__modifierType {
83 struct xcql__modifiersType {
85 struct xcql__modifierType **modifier;
88 struct xcql__booleanType {
90 struct xcql__modifiersType *modifiers 0;
93 struct xcql__operandType {
94 struct xcql__searchClauseType *searchClause 0;
95 struct xcql__tripleType *triple 0;
98 struct xcql__tripleType {
99 struct xcql__prefixesType *prefixes 0;
100 struct xcql__booleanType *boolean;
101 struct xcql__operandType *leftOperand;
102 struct xcql__operandType *rightOperand;
105 struct xsort__sortKeyType {
107 xsd__string schema 0;
108 xsd__boolean ascending 0;
109 xsd__boolean caseSensitive 0;
110 xsd__string missingValue 0;
113 struct xsort__xSortKeysType {
115 struct xsort__sortKeyType **sortKey;
118 int zs__searchRetrieveRequest (
120 struct xcql__operandType *xQuery,
121 xsd__string *sortKeys,
122 struct xsort__xSortKeysType *xSortKeys,
123 xsd__integer *startRecord,
124 xsd__integer *maximumRecords,
125 xsd__string *recordSchema,
126 xsd__string *recordPacking,
127 struct zs__searchRetrieveResponse *searchRetrieveResponse
130 struct zs__explainResponse {
134 int zs__explainRequest (
135 struct zs__explainResponse *explainResponse