X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Flogrpn.h;h=b53889d75139b2dbd3ad48a62b665cbb20421236;hb=f97d979896de564f24c1e18ac111223afd2f40b3;hp=2a182274c4b5791b0eae95b571b8d603e960d452;hpb=05c274ef315384faafcc5900c17468f0ea2474e6;p=yaz-moved-to-github.git diff --git a/include/yaz/logrpn.h b/include/yaz/logrpn.h index 2a18227..b53889d 100644 --- a/include/yaz/logrpn.h +++ b/include/yaz/logrpn.h @@ -1,8 +1,8 @@ /* - * Copyright (c) 1997-2004, Index Data. + * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: logrpn.h,v 1.5 2004-10-15 00:18:59 adam Exp $ + * $Id: logrpn.h,v 1.10 2006-01-20 11:01:46 adam Exp $ */ /** @@ -10,18 +10,36 @@ * \brief Header for Z39.50 Query Printing */ -#ifndef LOG_RPN_H -#define LOG_RPN_H +#ifndef YAZ_LOGRPN_H +#define YAZ_LOGRPN_H #include #include +#include YAZ_BEGIN_CDECL -YAZ_EXPORT void log_rpn_query (Z_RPNQuery *rpn); -YAZ_EXPORT void log_scan_term (Z_AttributesPlusTerm *zapt, oid_value ast); -YAZ_EXPORT void yaz_log_zquery (Z_Query *q); +YAZ_EXPORT void log_rpn_query(Z_RPNQuery *rpn); +YAZ_EXPORT void log_rpn_query_level(int loglevel, Z_RPNQuery *rpn); + +YAZ_EXPORT void log_scan_term(Z_AttributesPlusTerm *zapt, oid_value ast); +YAZ_EXPORT void log_scan_term_level(int loglevel, + Z_AttributesPlusTerm *zapt, oid_value ast); + +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 #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +