Use Odr_oid for OIDs. Require YAZ 3.0.2 or later.
[idzebra-moved-to-github.git] / include / attrfind.h
index 00d2580..db1c04b 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: attrfind.h,v 1.2 2006-08-14 10:40:12 adam Exp $
-   Copyright (C) 2005-2006
+/* $Id: attrfind.h,v 1.5 2007-05-08 12:50:03 adam Exp $
+   Copyright (C) 2005-2007
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -25,7 +25,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 #include <yaz/yconfig.h>
 #include <yaz/z-core.h>
-#include <yaz/oid.h>
 
 YAZ_BEGIN_CDECL
 
@@ -41,10 +40,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