X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Foid.c;h=d8bbf9b398804aba9b377ef36db18682ee1cd4fa;hb=0e967e932ab262eb724f19922594359a4bb3336e;hp=2b7fb2da50324269dc390d2adfadcda2c4e0e3b8;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/src/oid.c b/src/oid.c index 2b7fb2d..d8bbf9b 100644 --- a/src/oid.c +++ b/src/oid.c @@ -1,11 +1,14 @@ /* - * Copyright (c) 1995-2003, Index Data + * Copyright (c) 1995-2004, Index Data * See the file LICENSE for details. * - * $Id: oid.c,v 1.1 2003-10-27 12:21:34 adam Exp $ + * $Id: oid.c,v 1.4 2004-10-15 00:19:00 adam Exp $ */ -/* +/** + * \file oid.c + * \brief Implements OID database + * * More or less protocol-transparent OID database. * We could (and should?) extend this so that the user app can add new * entries to the list at initialization. @@ -98,6 +101,8 @@ static oident standard_oids[] = "Thesaurus-attset"}, {PROTO_Z3950, CLASS_ATTSET, VAL_IDXPATH, {3,1000,81,2,-1}, "IDXPATH"}, + {PROTO_Z3950, CLASS_ATTSET, VAL_EXTLITE, {3,1000,81,3,-1}, + "EXTLITE"}, {PROTO_Z3950, CLASS_DIAGSET, VAL_BIB1, {4,1,-1}, "Bib-1"}, {PROTO_Z3950, CLASS_DIAGSET, VAL_DIAG1, {4,2,-1}, @@ -112,6 +117,9 @@ static oident standard_oids[] = "Intermarc"}, {PROTO_Z3950, CLASS_RECSYN, VAL_CCF, {5,3,-1}, "CCF"}, + /* MARC21 is just an alias for the original USmarc */ + {PROTO_Z3950, CLASS_RECSYN, VAL_USMARC, {5,10,-1}, + "MARC21"}, {PROTO_Z3950, CLASS_RECSYN, VAL_USMARC, {5,10,-1}, "USmarc"}, {PROTO_Z3950, CLASS_RECSYN, VAL_UKMARC, {5,11,-1}, @@ -152,6 +160,12 @@ static oident standard_oids[] = "RUSmarc"}, {PROTO_Z3950, CLASS_RECSYN, VAL_HUNMARC, {5,29,-1}, "Hunmarc"}, + {PROTO_Z3950, CLASS_RECSYN, VAL_NACSISCATP, {5,30,-1}, + "NACSIS-CATP"}, + {PROTO_Z3950, CLASS_RECSYN, VAL_FINMARC2000, {5,31,-1}, + "FINMARC2000"}, + {PROTO_Z3950, CLASS_RECSYN, VAL_MARC21FIN, {5,32,-1}, + "MARC21-fin"}, {PROTO_Z3950, CLASS_RECSYN, VAL_EXPLAIN, {5,100,-1}, "Explain"}, {PROTO_Z3950, CLASS_RECSYN, VAL_SUTRS, {5,101,-1},