X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fsrw.h;h=dc721a125657c8a8825edf242f99bdbdad6a6191;hp=7e221f71a0fb1d5544d9364e64e051eee90e1108;hb=1f3fe256d54ab81d998cd622abda89580cc0b3ff;hpb=2d5c5f9149f57e143e59a5ec358d5664b0707398 diff --git a/include/yaz/srw.h b/include/yaz/srw.h index 7e221f7..dc721a1 100644 --- a/include/yaz/srw.h +++ b/include/yaz/srw.h @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: srw.h,v 1.24 2005-12-14 14:05:55 adam Exp $ + * $Id: srw.h,v 1.25 2006-03-01 23:24:24 adam Exp $ */ /** * \file srw.h @@ -220,6 +220,10 @@ YAZ_EXPORT void yaz_mk_srw_diagnostic(ODR o, Z_SRW_diagnostic *d, const char *uri, const char *message, const char *details); +YAZ_EXPORT int yaz_sru_get_encode(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu, + ODR encode, char *charset); +YAZ_EXPORT int yaz_sru_post_encode(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu, + ODR encode, char *charset); YAZ_END_CDECL #endif