X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=index%2Fzinfo.c;h=cd8bb3f765521b76b3e77bd2fee580e859e84da9;hb=f3f94568869a1ae0402bfa4f0dea4d80b09695df;hp=d086ff268fdec8f04f496e5a16694b2bf31e470d;hpb=2eacaa1e549428b231de5844f397466f6a44c59f;p=idzebra-moved-to-github.git diff --git a/index/zinfo.c b/index/zinfo.c index d086ff2..cd8bb3f 100644 --- a/index/zinfo.c +++ b/index/zinfo.c @@ -1,8 +1,5 @@ -/* $Id: zinfo.c,v 1.80 2007-10-29 16:57:53 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) 1995-2008 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 @@ -1379,14 +1376,19 @@ int zebraExplain_lookup_attr_str(ZebraExplainInfo zei, } int zebraExplain_trav_ord(ZebraExplainInfo zei, void *handle, - int (*f)(void *handle, int ord)) + int (*f)(void *handle, int ord, + const char *index_type, + const char *string_index, + zinfo_index_category_t cat)) { struct zebDatabaseInfoB *zdb = zei->curDatabaseInfo; if (zdb) { struct zebSUInfoB *zsui = zdb->attributeDetails->SUInfo; for ( ;zsui; zsui = zsui->next) - (*f)(handle, zsui->info.ordinal); + (*f)(handle, zsui->info.ordinal, + zsui->info.index_type, zsui->info.str, + zsui->info.cat); } return 0; }