X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fsrw.h;h=a6d60ada36562794068ad5432dfc95800774eb1c;hb=00757f0ff95a6e5557823e151a7ae9d6f48f0f8f;hp=42f93e2e6bcf354affeb7327c6c3de779a6073c7;hpb=163abf332e441c2d39cf6ee4e83bad169fa1c59c;p=yaz-moved-to-github.git diff --git a/include/yaz/srw.h b/include/yaz/srw.h index 42f93e2..a6d60ad 100644 --- a/include/yaz/srw.h +++ b/include/yaz/srw.h @@ -1,8 +1,12 @@ /* - * 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 @@ -24,7 +28,7 @@ typedef struct { } Z_SRW_record; typedef struct { - char *code; + char *uri; char *details; char *message; } Z_SRW_diagnostic; @@ -86,7 +90,12 @@ 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; @@ -97,6 +106,7 @@ typedef struct { char *value; int *numberOfRecords; char *displayTerm; + char *whereInList; } Z_SRW_scanTerm; typedef struct {