From: Adam Dickmeiss Date: Fri, 13 Apr 2007 13:58:00 +0000 (+0000) Subject: Make Variant-1 OID definition. Fix OID for Espec-1 X-Git-Tag: YAZ.3.0.0~54 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=99ab8b6123275a614abfa69a13ce4f7df59aa7d7;p=yaz-moved-to-github.git Make Variant-1 OID definition. Fix OID for Espec-1 --- diff --git a/include/yaz/oid_db.h b/include/yaz/oid_db.h index 0903b23..3524196 100644 --- a/include/yaz/oid_db.h +++ b/include/yaz/oid_db.h @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: oid_db.h,v 1.2 2007-04-12 20:47:27 adam Exp $ */ +/* $Id: oid_db.h,v 1.3 2007-04-13 13:58:00 adam Exp $ */ /** * \file oid_db.h @@ -162,6 +162,7 @@ int yaz_oid_add(yaz_oid_db_t oid_db, int oclass, const char *name, #define OID_STR_ID_CHARSET "ID-Charset" #define OID_STR_CHARNEG_3 "CharSetandLanguageNegotiation-3" #define OID_STR_CHARNEG_4 "CharSetandLanguageNegotiation-4" +#define OID_STR_VARIANT_1 "Variant-1" YAZ_END_CDECL diff --git a/src/oid_db.c b/src/oid_db.c index f809530..fc7cdb4 100644 --- a/src/oid_db.c +++ b/src/oid_db.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: oid_db.c,v 1.2 2007-04-12 20:47:28 adam Exp $ + * $Id: oid_db.c,v 1.3 2007-04-13 13:58:00 adam Exp $ */ /** @@ -142,8 +142,8 @@ static struct yaz_oid_entry standard_list[] = {CLASS_USERINFO, {Z3950_PREFIX, 10, 1000, 81, 1,-1}, OID_STR_PROXY}, {CLASS_USERINFO, {Z3950_PREFIX, 10, 1000, 81, 2,-1}, OID_STR_COOKIE}, {CLASS_USERINFO, {Z3950_PREFIX, 10, 1000, 81, 3,-1}, OID_STR_CLIENT_IP }, - {CLASS_ELEMSPEC, {1, 2, 840, 1003, 11, 1,-1}, "Espec-1"}, - {CLASS_VARSET, {Z3950_PREFIX, 12, 1,-1}, "Variant-1"}, + {CLASS_ELEMSPEC, {Z3950_PREFIX, 11, 1,-1}, "Espec-1"}, + {CLASS_VARSET, {Z3950_PREFIX, 12, 1,-1}, OID_STR_VARIANT_1}, {CLASS_SCHEMA, {Z3950_PREFIX, 13, 1,-1}, "WAIS-schema"}, {CLASS_SCHEMA, {Z3950_PREFIX, 13, 2,-1}, "GILS-schema"}, {CLASS_SCHEMA, {Z3950_PREFIX, 13, 3,-1}, "Collections-schema"},