record_conv: modify new API for conversion types
[yaz-moved-to-github.git] / include / yaz / logrpn.h
index d641d1f..8ec26ea 100644 (file)
@@ -1,5 +1,5 @@
-/*
- * Copyright (c) 1995-2007, Index Data
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2012 Index Data.
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -24,7 +24,6 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
-/* $Id: logrpn.h,v 1.13 2007-01-03 08:42:14 adam Exp $ */
 
 /**
  * \file logrpn.h
 
 #include <yaz/yconfig.h>
 #include <yaz/proto.h>
-#include <yaz/wrbuf.h>
 
 YAZ_BEGIN_CDECL
 
+YAZ_EXPORT char *yaz_prox_unit_name(Z_ProximityOperator *op);
 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(Z_AttributesPlusTerm *zapt, const Odr_oid *ast);
 YAZ_EXPORT void log_scan_term_level(int loglevel, 
-                                    Z_AttributesPlusTerm *zapt, oid_value ast);
-
+                                    Z_AttributesPlusTerm *zapt,
+                                    const Odr_oid *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
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab