From f97d979896de564f24c1e18ac111223afd2f40b3 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 20 Jan 2006 11:01:46 +0000 Subject: [PATCH] Make wrbuf_put_zquery public --- include/yaz/logrpn.h | 3 ++- src/querytowrbuf.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/yaz/logrpn.h b/include/yaz/logrpn.h index 6af089f..b53889d 100644 --- a/include/yaz/logrpn.h +++ b/include/yaz/logrpn.h @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: logrpn.h,v 1.9 2006-01-20 10:34:51 adam Exp $ + * $Id: logrpn.h,v 1.10 2006-01-20 11:01:46 adam Exp $ */ /** @@ -30,6 +30,7 @@ YAZ_EXPORT void yaz_log_zquery(Z_Query *q); YAZ_EXPORT void yaz_log_zquery_level(int loglevel, Z_Query *q); YAZ_EXPORT void wrbuf_diags(WRBUF b, int num_diagnostics,Z_DiagRec **diags); +YAZ_EXPORT void wrbuf_put_zquery(WRBUF b, const Z_Query *q); YAZ_END_CDECL diff --git a/src/querytowrbuf.c b/src/querytowrbuf.c index b686ba1..50e32c4 100644 --- a/src/querytowrbuf.c +++ b/src/querytowrbuf.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * All rights reserved. * - * $Id: querytowrbuf.c,v 1.1 2006-01-20 10:34:51 adam Exp $ + * $Id: querytowrbuf.c,v 1.2 2006-01-20 11:01:46 adam Exp $ */ /** @@ -13,6 +13,7 @@ #include #include +#include #include static void yaz_term_to_wrbuf(WRBUF b, const char *term, int len) -- 1.7.10.4