From 9c515b4bffa3c99fec87d3bdfaba158aca8e1dc1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 3 Dec 1998 11:33:04 +0000 Subject: [PATCH] Added OID's for XML. --- include/oid.h | 7 ++++++- util/oid.c | 10 ++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/include/oid.h b/include/oid.h index 2da5527..fd804f9 100644 --- a/include/oid.h +++ b/include/oid.h @@ -24,7 +24,10 @@ * OF THIS SOFTWARE. * * $Log: oid.h,v $ - * Revision 1.28 1998-10-13 16:01:52 adam + * Revision 1.29 1998-12-03 11:33:04 adam + * Added OID's for XML. + * + * Revision 1.28 1998/10/13 16:01:52 adam * Implemented support for dynamic object identifiers. * Function oid_getvalbyname now accepts raw OID's as well as traditional * names. @@ -239,6 +242,8 @@ typedef enum oid_value VAL_TIFFB, VAL_WAV, VAL_UPDATEES, + VAL_TEXT_XML, + VAL_APPLICATION_XML, VAL_UNIVERSE_REPORT, /* add new types here... */ diff --git a/util/oid.c b/util/oid.c index f6d7537..c9407ce 100644 --- a/util/oid.c +++ b/util/oid.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: oid.c,v $ - * Revision 1.30 1998-10-18 07:48:56 adam + * Revision 1.31 1998-12-03 11:33:05 adam + * Added OID's for XML. + * + * Revision 1.30 1998/10/18 07:48:56 adam * Fixed oid_getentbyoid so that it returns NULL when parsed oid is NULL. * * Revision 1.29 1998/10/14 13:32:35 adam @@ -212,7 +215,10 @@ static oident oids[] = {PROTO_Z3950, CLASS_RECSYN, VAL_ID_SGML, {5,1000,81,1,-1},"ID-SGML" }, #endif {PROTO_Z3950, CLASS_RECSYN, VAL_SOIF, {5,1000,81,2,-1},"SOIF" }, - + {PROTO_Z3950, CLASS_RECSYN, VAL_TEXT_XML, {5,109,10,-1}, "text-XML" }, + {PROTO_Z3950, CLASS_RECSYN, VAL_TEXT_XML, {5,109,10,-1}, "XML" }, + {PROTO_Z3950, CLASS_RECSYN, VAL_APPLICATION_XML, + {5,109,11,-1}, "application-XML" }, {PROTO_Z3950, CLASS_RESFORM, VAL_RESOURCE1, {7,1,-1}, "Resource-1" }, {PROTO_Z3950, CLASS_RESFORM, VAL_RESOURCE2, {7,2,-1}, "Resource-2" }, {PROTO_Z3950, CLASS_RESFORM, VAL_UNIVERSE_REPORT, {7,1000,81,1,-1}, "UNIverse-Resource-Report"}, -- 1.7.10.4