X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Foid.h;h=40d8d2ff180b129b4498a0457948bcf6e198e4f0;hb=8e4eabe621f8b8195faa6625a38a2e1ae7b68aa1;hp=d19d6a2b7ee37832caf4fb09a20d79e42805f535;hpb=e5ae0dd3bbac8bb387edb28df0dafc2e8230a96e;p=yaz-moved-to-github.git diff --git a/include/yaz/oid.h b/include/yaz/oid.h index d19d6a2..40d8d2f 100644 --- a/include/yaz/oid.h +++ b/include/yaz/oid.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-1999, Index Data. + * Copyright (c) 1995-2000, Index Data. * * 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.3 2000-01-06 14:59:13 adam Exp $ + * $Id: oid.h,v 1.7 2000-10-02 13:58:50 adam Exp $ */ #ifndef OID_H @@ -31,9 +31,7 @@ #include -#ifdef __cplusplus -extern "C" { -#endif +YAZ_BEGIN_CDECL #define OID_SIZE 20 @@ -155,6 +153,22 @@ typedef enum oid_value VAL_COOKIE, VAL_CLIENT_IP, VAL_ISO_ILL_1, + VAL_ZBIG, + VAL_UTIL, + VAL_XD1, + VAL_ZTHES, + VAL_FIN1, + VAL_DAN1, + VAL_DIAG_ES, + VAL_DIAG_GENERAL, + VAL_JPMARC, + VAL_SWEMARC, + VAL_SIGLEMARC, + VAL_ISDSMARC, + VAL_RUSMARC, + VAL_ADMINSERVICE, + VAL_HOLDINGS, + VAL_HUNMARC, /* add new types here... */ /* VAL_DYNAMIC must have highest value */ @@ -186,8 +200,6 @@ YAZ_EXPORT struct oident *oid_addent (int *oid, enum oid_proto proto, YAZ_EXPORT void oid_init(void); YAZ_EXPORT void oid_exit(void); -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #endif