From: Adam Dickmeiss Date: Thu, 28 Jul 2011 12:50:37 +0000 (+0200) Subject: Define wrbuf_vp_puts for YAZ < 4.2.6 X-Git-Tag: v1.3.1~1 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=90369a79ef6b900b7487f095f55c32c9c49975ae;p=metaproxy-moved-to-github.git Define wrbuf_vp_puts for YAZ < 4.2.6 This function is declared for YAZ 4.2.6 and later. --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 6591a6e..cd233b5 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -1252,6 +1252,13 @@ static void sort_via_cql(WRBUF cql_sortby, const char *sru_sortkeys) nmem_destroy(nmem); } +#if YAZ_VERSIONL < 0x40206 +static void wrbuf_vp_puts(const char *buf, void *client_data) +{ + WRBUF b = (WRBUF) client_data; + wrbuf_puts(b, buf); +} +#endif void yf::Zoom::Frontend::handle_search(mp::Package &package) {