X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Foid_db.c;h=104ff930881abaacc778642ea21d6418fe06d992;hb=ecc1ee5b177fdc11ed531dfe13b5c3aae52b2843;hp=2ea139daa7f6c039d6a9c7a7c0bc353b1e2e2bad;hpb=813b245533765d9ff66d35f0d28fdbfc5ba03bcb;p=yaz-moved-to-github.git diff --git a/src/oid_db.c b/src/oid_db.c index 2ea139d..104ff93 100644 --- a/src/oid_db.c +++ b/src/oid_db.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * $Id: oid_db.c,v 1.9 2007-06-24 19:27:12 adam Exp $ */ /** @@ -126,7 +124,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);