X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fattribute.c;h=4272aab31a82adef433ff874e697ab146beec086;hb=951a16f58a1372353a1c85ef9e162ddbe84bbff6;hp=4fb5bb2aa29eb3bbc29098ff70801f7218573c99;hpb=1872e3fc60b482771bbd1cb4b0290b8d6a9ef5d0;p=idzebra-moved-to-github.git diff --git a/index/attribute.c b/index/attribute.c index 4fb5bb2..4272aab 100644 --- a/index/attribute.c +++ b/index/attribute.c @@ -1,4 +1,4 @@ -/* $Id: attribute.c,v 1.29 2007-04-16 08:44:31 adam Exp $ +/* $Id: attribute.c,v 1.31 2007-05-08 12:50:04 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -46,7 +46,7 @@ static data1_att *getatt(data1_attset *p, int att) return 0; } -static int att_getentbyatt(ZebraHandle zi, const int *set, int att, +static int att_getentbyatt(ZebraHandle zi, const Odr_oid *set, int att, const char **name) { data1_att *r; @@ -70,7 +70,7 @@ ZEBRA_RES zebra_attr_list_get_ord(ZebraHandle zh, Z_AttributeList *attr_list, zinfo_index_category_t cat, int index_type, - const int *curAttributeSet, + const Odr_oid *curAttributeSet, int *ord) { int use_value = -1; @@ -124,7 +124,7 @@ ZEBRA_RES zebra_apt_get_ord(ZebraHandle zh, Z_AttributesPlusTerm *zapt, int index_type, const char *xpath_use, - const int *curAttributeSet, + const Odr_oid *curAttributeSet, int *ord) { ZEBRA_RES res = ZEBRA_OK; @@ -193,7 +193,7 @@ ZEBRA_RES zebra_sort_get_ord(ZebraHandle zh, if (zebra_attr_list_get_ord( zh, sortAttributes->list, zinfo_index_category_sort, - -1 /* any index */, yaz_oid_attset_bib1(), ord) == ZEBRA_OK) + -1 /* any index */, yaz_oid_attset_bib_1, ord) == ZEBRA_OK) return ZEBRA_OK; return ZEBRA_FAIL; }