X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Foid.h;h=f1357db75c157fef0b7e4527d0642732ae225892;hb=46ed30d0d83dd1b21e58a4db365a60aefaa5aad8;hp=4fc2ca62dc47f5375b8acd8831894e7cec6a1fbd;hpb=85a2e7affad79fd8bd59b403ba7b5f7867d60523;p=yaz-moved-to-github.git diff --git a/include/oid.h b/include/oid.h index 4fc2ca6..f1357db 100644 --- a/include/oid.h +++ b/include/oid.h @@ -24,7 +24,26 @@ * OF THIS SOFTWARE. * * $Log: oid.h,v $ - * Revision 1.16 1997-04-30 08:52:08 quinn + * Revision 1.23 1997-09-01 08:49:50 adam + * New windows NT/95 port using MSV5.0. To export DLL functions the + * YAZ_EXPORT modifier was added. Defined in yconfig.h. + * + * Revision 1.22 1997/08/19 08:45:13 quinn + * Added Thesaurus + * + * Revision 1.21 1997/08/19 08:43:49 quinn + * Housekeeping + * + * Revision 1.19 1997/07/28 12:34:42 adam + * Added new OID entries (RVDM). + * + * Revision 1.18 1997/05/14 06:53:42 adam + * C++ support. + * + * Revision 1.17 1997/05/02 08:39:27 quinn + * Support for private OID table added. Thanks to Ronald van der Meer + * + * Revision 1.16 1997/04/30 08:52:08 quinn * Null * * Revision 1.15 1996/10/09 15:54:57 quinn @@ -83,6 +102,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + #define OID_SIZE 100 typedef enum oid_proto @@ -123,6 +146,9 @@ typedef enum oid_value VAL_GILS, VAL_WAIS, VAL_STAS, + VAL_COLLECT1, + VAL_CIMI1, + VAL_GEO, VAL_DIAG1, VAL_ISO2709, VAL_UNIMARC, @@ -140,6 +166,8 @@ typedef enum oid_value VAL_PICAMARC, VAL_AUSMARC, VAL_IBERMARC, + VAL_CATMARC, + VAL_MALMARC, VAL_EXPLAIN, VAL_SUTRS, VAL_OPAC, @@ -147,6 +175,7 @@ typedef enum oid_value VAL_GRS0, VAL_GRS1, VAL_EXTENDED, + VAL_FRAGMENT, VAL_RESOURCE1, VAL_RESOURCE2, VAL_PROMPT1, @@ -165,7 +194,8 @@ typedef enum oid_value VAL_VAR1, VAL_ESPEC1, VAL_SOIF, - VAL_SEARCHRES1 + VAL_SEARCHRES1, + VAL_THESAURUS } oid_value; typedef struct oident @@ -177,12 +207,17 @@ typedef struct oident char *desc; } oident; -int *oid_getoidbyent(struct oident *ent); -struct oident *oid_getentbyoid(int *o); -void oid_oidcpy(int *t, int *s); -void oid_oidcat(int *t, int *s); -int oid_oidcmp(int *o1, int *o2); -int oid_oidlen(int *o); -oid_value oid_getvalbyname(const char *name); +YAZ_EXPORT int *oid_getoidbyent(struct oident *ent); +YAZ_EXPORT struct oident *oid_getentbyoid(int *o); +YAZ_EXPORT void oid_oidcpy(int *t, int *s); +YAZ_EXPORT void oid_oidcat(int *t, int *s); +YAZ_EXPORT int oid_oidcmp(int *o1, int *o2); +YAZ_EXPORT int oid_oidlen(int *o); +YAZ_EXPORT oid_value oid_getvalbyname(const char *name); +YAZ_EXPORT void oid_setprivateoids(oident *list); + +#ifdef __cplusplus +} +#endif #endif