X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fsrw.h;h=68644a960f3ca74b7ad5561dd26886d3972667cf;hb=ad88b93c8fbb00728acd0b49b4079167304ed58d;hp=743c1d0513e201770ab240a64aea38d8c7d6a815;hpb=799ea46466fc7433ce75d7c66d796b5a0997f59c;p=yaz-moved-to-github.git diff --git a/include/yaz/srw.h b/include/yaz/srw.h index 743c1d0..68644a9 100644 --- a/include/yaz/srw.h +++ b/include/yaz/srw.h @@ -37,7 +37,7 @@ #include #include #include -#include "facet.h" +#include YAZ_BEGIN_CDECL @@ -55,12 +55,6 @@ typedef struct { #define Z_SRW_recordPacking_XML 1 #define Z_SRW_recordPacking_URL 2 -#if 0 - int packing; /* recordPacking in SRU 2.0 */ -#define Z_SRW_packed 0 -#define Z_SRW_unpacked 1 -#endif - char *recordData_buf; int recordData_len; Odr_int *recordPosition; @@ -102,6 +96,7 @@ typedef struct { typedef struct { Odr_int *numberOfRecords; + char *resultCountPrecision; char * resultSetId; Odr_int *resultSetIdleTime; @@ -326,8 +321,6 @@ YAZ_EXPORT int yaz_sru_soap_encode(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu, YAZ_EXPORT int yaz_solr_encode_request(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu, ODR encode, const char *charset); -YAZ_EXPORT char *yaz_negotiate_sru_version(char *input_ver); - YAZ_EXPORT void yaz_encode_sru_extra(Z_SRW_PDU *sr, ODR odr, const char *extra_args);