X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Flogrpn.h;h=8ec26ea4710b10689cd69f5ef8fcb7603bc3bb89;hp=bad4498749c94d9f25c70847053faf27c0143b52;hb=a3e65bcd3250b107397675bc65b35b5939355025;hpb=72da3f05a07602494a978c266f473bb0b4c7841f diff --git a/include/yaz/logrpn.h b/include/yaz/logrpn.h index bad4498..8ec26ea 100644 --- a/include/yaz/logrpn.h +++ b/include/yaz/logrpn.h @@ -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.14 2007-03-19 21:07:35 adam Exp $ */ /** * \file logrpn.h @@ -39,13 +38,14 @@ 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); @@ -55,6 +55,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab