projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for SRW scan in yaz-client
[yaz-moved-to-github.git]
/
include
/
yaz
/
srw.h
diff --git
a/include/yaz/srw.h
b/include/yaz/srw.h
index
42f93e2
..
df27631
100644
(file)
--- a/
include/yaz/srw.h
+++ b/
include/yaz/srw.h
@@
-2,7
+2,11
@@
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: srw.h,v 1.15 2004-01-27 12:15:11 adam Exp $
+ * $Id: srw.h,v 1.18 2005-01-08 01:20:18 adam Exp $
+ */
+/**
+ * \file srw.h
+ * \brief Header for SRW/SRU
*/
#ifndef YAZ_SRW_H
*/
#ifndef YAZ_SRW_H
@@
-24,7
+28,7
@@
typedef struct {
} Z_SRW_record;
typedef struct {
} Z_SRW_record;
typedef struct {
- char *code;
+ char *uri;
char *details;
char *message;
} Z_SRW_diagnostic;
char *details;
char *message;
} Z_SRW_diagnostic;
@@
-86,7
+90,12
@@
typedef struct {
} Z_SRW_explainResponse;
typedef struct {
} Z_SRW_explainResponse;
typedef struct {
- char *scanClause;
+ int query_type;
+ union {
+ char *cql;
+ char *xcql;
+ char *pqf;
+ } scanClause;
int *responsePosition;
int *maximumTerms;
char *stylesheet;
int *responsePosition;
int *maximumTerms;
char *stylesheet;