From: Mike Taylor Date: Wed, 19 Nov 2003 13:47:05 +0000 (+0000) Subject: Add OID for the new ExtLite attribute set. X-Git-Tag: YAZ.2.0.6~31 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=422a45e862fa7d6ed7ff4f5b5dcd7a7b503631f1 Add OID for the new ExtLite attribute set. Add OIDs for NACSIS-CATP, FINMARC2000 and MARC21-fin record-syntaxes, as requested/supplid by Ere Maijala --- diff --git a/include/yaz/oid.h b/include/yaz/oid.h index ba6d60a..f47911f 100644 --- a/include/yaz/oid.h +++ b/include/yaz/oid.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: oid.h,v 1.20 2003-09-16 19:38:53 adam Exp $ + * $Id: oid.h,v 1.21 2003-11-19 13:47:20 mike Exp $ */ #ifndef OID_H @@ -215,6 +215,12 @@ typedef enum oid_value VAL_OCLCUI, VAL_ID_CHARSET, + VAL_EXTLITE, + VAL_NACSISCATP, + VAL_FINMARC2000, +/* 120 */ + + VAL_MARC21FIN, /* VAL_DYNAMIC must have highest value */ VAL_DYNAMIC, diff --git a/src/oid.c b/src/oid.c index 2b7fb2d..4bb5902 100644 --- a/src/oid.c +++ b/src/oid.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, 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.2 2003-11-19 13:47:05 mike Exp $ */ /* @@ -98,6 +98,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}, @@ -152,6 +154,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},