/*
- * Copyright (c) 2002-2004, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
* 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.20 2005-01-15 19:47:10 adam Exp $
+ */
+/**
+ * \file srw.h
+ * \brief Header for SRW/SRU
*/
#ifndef YAZ_SRW_H
} Z_SRW_record;
typedef struct {
- char *code;
+ char *uri;
char *details;
char *message;
} Z_SRW_diagnostic;
} Z_SRW_explainResponse;
typedef struct {
- char *scanClause;
+ int query_type;
+ union {
+ char *cql;
+ char *xcql;
+ char *pqf;
+ } scanClause;
int *responsePosition;
int *maximumTerms;
char *stylesheet;
char *value;
int *numberOfRecords;
char *displayTerm;
+ char *whereInList;
} Z_SRW_scanTerm;
typedef struct {