X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fsrw.h;h=51239f42f92921560ba03f210cf0513ca3d8fe16;hb=044e617fc468bfce45f39e66fe8d34b99654eba2;hp=7af24219dcbda93fde98b3c7f2f9c66538d7071e;hpb=47ceb84b5ac99c72bcaef53be93494541e9a68c0;p=yaz-moved-to-github.git diff --git a/include/yaz/srw.h b/include/yaz/srw.h index 7af2421..51239f4 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; @@ -244,13 +238,6 @@ YAZ_EXPORT int yaz_diag_srw_to_bib1(int srw_code); YAZ_EXPORT const char *yaz_srw_pack_to_str(int pack); YAZ_EXPORT int yaz_srw_str_to_pack(const char *str); -/** \brief deprecated */ -YAZ_EXPORT char *yaz_uri_val(const char *path, const char *name, ODR o); - -/** \brief deprecated */ -YAZ_EXPORT void yaz_uri_val_int(const char *path, const char *name, - ODR o, Odr_int **intp); - YAZ_EXPORT int yaz_uri_to_array(const char *path, ODR o, char ***name, char ***val); YAZ_EXPORT void yaz_array_to_uri(char **path, ODR o, @@ -327,8 +314,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);