X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fsrw.h;h=2f6b505f64706aa4b83962fde983f4e9ad0dfa58;hb=725db3d87d84a1072939d74a537454a5d4e1e0cc;hp=36f08b3530260f9e67135895c35124c8ec7f3329;hpb=05c274ef315384faafcc5900c17468f0ea2474e6;p=yaz-moved-to-github.git diff --git a/include/yaz/srw.h b/include/yaz/srw.h index 36f08b3..2f6b505 100644 --- a/include/yaz/srw.h +++ b/include/yaz/srw.h @@ -1,8 +1,8 @@ /* - * Copyright (c) 2002-2004, Index Data. + * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: srw.h,v 1.17 2004-10-15 00:18:59 adam Exp $ + * $Id: srw.h,v 1.21 2005-04-22 08:27:57 adam Exp $ */ /** * \file srw.h @@ -14,6 +14,7 @@ #include #include +#include YAZ_BEGIN_CDECL @@ -90,7 +91,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; @@ -101,6 +107,7 @@ typedef struct { char *value; int *numberOfRecords; char *displayTerm; + char *whereInList; } Z_SRW_scanTerm; typedef struct { @@ -135,8 +142,6 @@ YAZ_EXPORT int yaz_srw_codec(ODR o, void * pptr, void *client_data, const char *ns); YAZ_EXPORT Z_SRW_PDU *yaz_srw_get(ODR o, int which); -YAZ_EXPORT const char *yaz_diag_srw_str (int code); - YAZ_EXPORT int yaz_diag_bib1_to_srw (int bib1_code); YAZ_EXPORT int yaz_diag_srw_to_bib1(int srw_code);