X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Foid.h;h=f5c50d7df309961dbd97d0d729d8aab2f7fea2a6;hb=f62a2f5d68717e0eca21dbb60d1cb5afe943d666;hp=8feb61c135a80d42f69fb2f0523afb2fe8d4ba73;hpb=4ae699c927bc26f3550d1a8ca911e8d1fe75dbfc;p=yaz-moved-to-github.git diff --git a/include/oid.h b/include/oid.h index 8feb61c..f5c50d7 100644 --- a/include/oid.h +++ b/include/oid.h @@ -24,7 +24,31 @@ * OF THIS SOFTWARE. * * $Log: oid.h,v $ - * Revision 1.11 1996-01-02 08:57:30 quinn + * 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 + * Added SearchInfoReport + * + * Revision 1.14 1996/10/07 15:29:17 quinn + * Added SOIF support + * + * Revision 1.13 1996/02/20 17:57:53 adam + * Added const to oid_getvalbyname. + * + * Revision 1.12 1996/02/20 12:52:37 quinn + * Various + * + * Revision 1.11 1996/01/02 08:57:30 quinn * Changed enums in the ASN.1 .h files to #defines. Changed oident.class to oclass * * Revision 1.10 1995/11/13 09:27:31 quinn @@ -68,13 +92,18 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + #define OID_SIZE 100 typedef enum oid_proto { PROTO_Z3950, PROTO_SR, - PROTO_GENERAL + PROTO_GENERAL, + PROTO_WAIS } oid_proto; typedef enum oid_class @@ -107,6 +136,9 @@ typedef enum oid_value VAL_GILS, VAL_WAIS, VAL_STAS, + VAL_COLLECT1, + VAL_CIMI1, + VAL_GEO, VAL_DIAG1, VAL_ISO2709, VAL_UNIMARC, @@ -124,6 +156,8 @@ typedef enum oid_value VAL_PICAMARC, VAL_AUSMARC, VAL_IBERMARC, + VAL_CATMARC, + VAL_MALMARC, VAL_EXPLAIN, VAL_SUTRS, VAL_OPAC, @@ -131,6 +165,7 @@ typedef enum oid_value VAL_GRS0, VAL_GRS1, VAL_EXTENDED, + VAL_FRAGMENT, VAL_RESOURCE1, VAL_RESOURCE2, VAL_PROMPT1, @@ -147,7 +182,9 @@ typedef enum oid_value VAL_SETM, VAL_SETG, VAL_VAR1, - VAL_ESPEC1 + VAL_ESPEC1, + VAL_SOIF, + VAL_SEARCHRES1 } oid_value; typedef struct oident @@ -165,6 +202,11 @@ 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(char *name); +oid_value oid_getvalbyname(const char *name); +void oid_setprivateoids(oident *list); + +#ifdef __cplusplus +} +#endif #endif