X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fattrfind.h;h=86c9c2cbe95647410f449fd8b729d8f612856e94;hp=cea9e4da0d790f72ca1b95f27bd34b4a938d1990;hb=c97718edd01f7d1813edbf94c58b93a747143311;hpb=6ba9698e88c0283e40fa5980a1a6b551fff2d597 diff --git a/include/attrfind.h b/include/attrfind.h index cea9e4d..86c9c2c 100644 --- a/include/attrfind.h +++ b/include/attrfind.h @@ -1,8 +1,5 @@ -/* $Id: attrfind.h,v 1.1 2006-05-19 13:49:34 adam Exp $ - Copyright (C) 2005-2006 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 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 @@ -15,9 +12,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #ifndef ATTRFIND_H @@ -25,7 +22,6 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include -#include YAZ_BEGIN_CDECL @@ -41,10 +37,9 @@ void attr_init_APT(AttrType *src, Z_AttributesPlusTerm *zapt, int type); void attr_init_AttrList(AttrType *src, Z_AttributeList *list, int type); -int attr_find_ex(AttrType *src, oid_value *attributeSetP, +int attr_find_ex(AttrType *src, const Odr_oid **attribute_set_oid, const char **string_value); -int attr_find(AttrType *src, oid_value *attributeSetP); - +int attr_find(AttrType *src, const Odr_oid **attribute_set_oid); YAZ_END_CDECL @@ -52,6 +47,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