X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Foid.h;h=53e12327eec2fb998916cd67f01714528fdd23d7;hb=88d26764ac94b4a2872c77e2deed58b15d2f6f02;hp=64af528ab3ac6143cf6d55cd0bd905a50d5afbe6;hpb=297a057b70eb2747f46b5fe216984394cde6ea8b;p=yaz-moved-to-github.git diff --git a/include/oid.h b/include/oid.h index 64af528..53e1232 100644 --- a/include/oid.h +++ b/include/oid.h @@ -24,7 +24,25 @@ * OF THIS SOFTWARE. * * $Log: oid.h,v $ - * Revision 1.12 1996-02-20 12:52:37 quinn + * 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 @@ -71,6 +89,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + #define OID_SIZE 100 typedef enum oid_proto @@ -151,7 +173,9 @@ typedef enum oid_value VAL_SETM, VAL_SETG, VAL_VAR1, - VAL_ESPEC1 + VAL_ESPEC1, + VAL_SOIF, + VAL_SEARCHRES1 } oid_value; typedef struct oident @@ -169,6 +193,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