X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fsrw.h;h=df27631da4f5460693c3826a65b947a13c8ca7e0;hb=f64aa61c61bf8bf851d7b66a5fc137669dc77452;hp=42f93e2e6bcf354affeb7327c6c3de779a6073c7;hpb=163abf332e441c2d39cf6ee4e83bad169fa1c59c;p=yaz-moved-to-github.git diff --git a/include/yaz/srw.h b/include/yaz/srw.h index 42f93e2..df27631 100644 --- 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. * - * $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 @@ -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;