X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frset.c;h=739fada127750ed2ebbccc06dad7e1e821628e92;hb=5a5e8d852ce98a805b02679a971cdf4216d94177;hp=5a187422e3337bc6677003b580e82c1eaff3234d;hpb=97a7adeb9e5059463f039495cc01cfa448463a27;p=idzebra-moved-to-github.git diff --git a/rset/rset.c b/rset/rset.c index 5a18742..739fada 100644 --- a/rset/rset.c +++ b/rset/rset.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1995-2008 Index Data + Copyright (C) 1994-2009 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -315,6 +315,11 @@ struct ord_list *ord_list_dup(NMEM nmem, struct ord_list *list) return n; } +void ord_list_print(struct ord_list *list) +{ + for (; list; list = list->next) + yaz_log(YLOG_LOG, "ord_list %d", list->ord); +} /** \brief Creates a TERMID entry. \param name Term/Name buffer with given length @@ -423,6 +428,7 @@ void rset_visit(RSET rset, int level) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab