* Copyright (c) 1995-2002, Index Data
* See the file LICENSE for details.
*
- * $Id: oid.c,v 1.53 2002-02-11 23:25:26 adam Exp $
+ * $Id: oid.c,v 1.57 2002-08-30 15:38:26 mike Exp $
*/
/*
"BER" },
{PROTO_GENERAL, CLASS_TRANSYN, VAL_ISO2709, {1,0,2709,1,1,-1},
"ISO2709"},
- {PROTO_GENERAL, CLASS_GENERAL, VAL_ISO_ILL_1, {1,2,10161,2,1,-1},
+ {PROTO_GENERAL, CLASS_GENERAL, VAL_ISO_ILL_1, {1,0,10161,2,1,-1},
"ISOILL-1"},
/* Z39.50v3 definitions */
{PROTO_Z3950, CLASS_ABSYN, VAL_APDU, {2,1,-1},
"Dan-1"},
{PROTO_Z3950, CLASS_ATTSET, VAL_HOLDINGS, {3,16,-1},
"Holdings"},
-
- {PROTO_Z3950, CLASS_ATTSET, VAL_THESAURUS, {3,1000,81,1,-1},
+ {PROTO_Z3950, CLASS_ATTSET, VAL_USMARC, {3,17,-1},
+ "MARC"},
+ {PROTO_Z3950, CLASS_ATTSET, VAL_BIB2, {3,18,-1},
+ "Bib-2"},
+ {PROTO_Z3950, CLASS_ATTSET, VAL_ZEEREX, {3,19,-1},
+ "ZeeRex"},
+
+ {PROTO_Z3950, CLASS_ATTSET, VAL_THESAURUS, {3,1000,81,1,-1},
"Thesaurus-attset"},
+ {PROTO_Z3950, CLASS_ATTSET, VAL_IDXPATH, {3,1000,81,2,-1},
+ "IDXPATH"},
{PROTO_Z3950, CLASS_DIAGSET, VAL_BIB1, {4,1,-1},
"Bib-1"},
{PROTO_Z3950, CLASS_DIAGSET, VAL_DIAG1, {4,2,-1},
int i;
sprintf (desc_str, "%d", *oid);
- for (i = 1; oid[i] >= 0; i++)
+ for (i = 1; i < 12 && oid[i] >= 0; i++)
sprintf (desc_str+strlen(desc_str), ".%d", oid[i]);
desc = desc_str;
}