X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Foid_db.c;h=60d3e545074eda33c1e846dac9b5539cce27911b;hp=2ea139daa7f6c039d6a9c7a7c0bc353b1e2e2bad;hb=cf30376bd9e43ad653c6292f275ee4dd10b70a6c;hpb=03ce460f7ed624f0c36274cee763eb86fb2ace88 diff --git a/src/oid_db.c b/src/oid_db.c index 2ea139d..60d3e54 100644 --- a/src/oid_db.c +++ b/src/oid_db.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: oid_db.c,v 1.9 2007-06-24 19:27:12 adam Exp $ + * $Id: oid_db.c,v 1.10 2007-11-30 11:42:04 adam Exp $ */ /** @@ -126,7 +126,7 @@ int yaz_oid_is_iso2709(const Odr_oid *oid) return 0; } -int yaz_oid_add(yaz_oid_db_t oid_db, int oclass, const char *name, +int yaz_oid_add(yaz_oid_db_t oid_db, oid_class oclass, const char *name, const Odr_oid *new_oid) { const Odr_oid *oid = yaz_string_to_oid(oid_db, oclass, name);