X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Foid.h;h=05849fef8a2ba36502450f8644ee37c4ce7f88ff;hb=cf139020e5158b2a6ab6ba7cfb04df3d85c74f4b;hp=ea921c95e0f015476a9ecef9aa89121d5bbcc465;hpb=05c274ef315384faafcc5900c17468f0ea2474e6;p=yaz-moved-to-github.git diff --git a/include/yaz/oid.h b/include/yaz/oid.h index ea921c9..05849fe 100644 --- a/include/yaz/oid.h +++ b/include/yaz/oid.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-2003, Index Data. + * Copyright (C) 1995-2005, Index Data ApS * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: oid.h,v 1.22 2004-10-15 00:18:59 adam Exp $ + * $Id: oid.h,v 1.27 2005-06-25 15:46:03 adam Exp $ */ /** @@ -229,6 +229,8 @@ typedef enum oid_value /* 120 */ VAL_MARC21FIN, + VAL_CHARNEG4, + VAL_XMLES, /* VAL_DYNAMIC must have highest value */ VAL_DYNAMIC, @@ -254,8 +256,8 @@ YAZ_EXPORT int oid_oidlen(int *o); YAZ_EXPORT oid_value oid_getvalbyname(const char *name); YAZ_EXPORT void oid_setprivateoids(oident *list); YAZ_EXPORT struct oident *oid_addent (int *oid, enum oid_proto proto, - enum oid_class oclass, - const char *desc, int value); + enum oid_class oclass, + const char *desc, int value); YAZ_EXPORT void oid_trav (void (*func)(struct oident *oidinfo, void *vp), void *vp); @@ -265,8 +267,16 @@ YAZ_EXPORT void oid_exit(void); YAZ_EXPORT int *oid_name_to_oid(oid_class oclass, const char *name, int *oid); YAZ_EXPORT char *oid_to_dotstring(const int *oid, char *oidbuf); YAZ_EXPORT char *oid_name_to_dotstring(oid_class oclass, const char *name, - char *oidbuf); + char *oidbuf); YAZ_END_CDECL #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +