X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Foid.c;h=0fb1b1dbea76c75c8d88bc286053782596c8235f;hb=2f5963dcec74ca26d9b0c2d75b007d98efe56f2e;hp=4bb5902294fe9a9138b849d6d562a50dd01fa169;hpb=422a45e862fa7d6ed7ff4f5b5dcd7a7b503631f1;p=yaz-moved-to-github.git diff --git a/src/oid.c b/src/oid.c index 4bb5902..0fb1b1d 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.2 2003-11-19 13:47:05 mike Exp $ + * $Id: oid.c,v 1.5 2004-12-22 23:45:13 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. @@ -114,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}, @@ -305,6 +311,8 @@ static oident standard_oids[] = "Zthes-tagset"}, {PROTO_Z3950, CLASS_NEGOT, VAL_CHARNEG3, {15,3,-1}, "CharSetandLanguageNegotiation-3"}, + {PROTO_Z3950, CLASS_NEGOT, VAL_CHARNEG4, {15,4,-1}, + "CharSetandLanguageNegotiation-4"}, {PROTO_Z3950, CLASS_NEGOT, VAL_ID_CHARSET, {15,1000,81,1,-1}, "ID-Charset" }, {PROTO_Z3950, CLASS_USERINFO,VAL_CQL, {16, 2, -1},