/*
- * Copyright (c) 1997-2000, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
- *
- * $Log: logrpn.h,v $
- * Revision 1.2 2000-02-28 11:20:06 adam
- * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
- *
- * Revision 1.1 1999/11/30 13:47:11 adam
- * Improved installation. Moved header files to include/yaz.
- *
- * Revision 1.1 1998/11/16 16:02:32 adam
- * Added loggin utilies, log_rpn_query and log_scan_term. These used
- * to be part of Zebra.
*
+ * $Id: logrpn.h,v 1.8 2005-06-25 15:46:03 adam Exp $
+ */
+
+/**
+ * \file logrpn.h
+ * \brief Header for Z39.50 Query Printing
*/
#ifndef LOG_RPN_H
#include <yaz/yconfig.h>
#include <yaz/proto.h>
+#include <yaz/wrbuf.h>
YAZ_BEGIN_CDECL
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_put_zquery(WRBUF b, Z_Query *q);
+YAZ_EXPORT void wrbuf_scan_term (WRBUF b,
+ Z_AttributesPlusTerm *zapt, oid_value ast);
+YAZ_EXPORT void wrbuf_diags(WRBUF b, int num_diagnostics,Z_DiagRec **diags);
YAZ_END_CDECL
#endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+