X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frset.c;h=739fada127750ed2ebbccc06dad7e1e821628e92;hb=ce0c8ffd1c3471504b638f6b47a0e85bf1b6f24f;hp=52377bb668f87fefceee20b7cb49ef9ab9c5e3ec;hpb=86702aad7008abed6afef80feed08b3e4e1cbcd1;p=idzebra-moved-to-github.git diff --git a/rset/rset.c b/rset/rset.c index 52377bb..739fada 100644 --- a/rset/rset.c +++ b/rset/rset.c @@ -1,8 +1,5 @@ -/* $Id: rset.c,v 1.58 2007-01-17 15:35:48 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + 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 @@ -318,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 @@ -426,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