X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Flogrpn.h;h=b53889d75139b2dbd3ad48a62b665cbb20421236;hb=32687c1504015e0675d49983707576f8db9b7bfc;hp=07af8ca698f1da29f3f5caff88860bdd22247837;hpb=ba8d526ec24077c455979314147aaff20746a8ca;p=yaz-moved-to-github.git diff --git a/include/yaz/logrpn.h b/include/yaz/logrpn.h index 07af8ca..b53889d 100644 --- a/include/yaz/logrpn.h +++ b/include/yaz/logrpn.h @@ -1,22 +1,45 @@ /* - * Copyright (c) 1997-2003, Index Data. + * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: logrpn.h,v 1.4 2003-03-03 19:57:35 adam Exp $ + * $Id: logrpn.h,v 1.10 2006-01-20 11:01:46 adam Exp $ */ -#ifndef LOG_RPN_H -#define LOG_RPN_H +/** + * \file logrpn.h + * \brief Header for Z39.50 Query Printing + */ + +#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 + */ +