X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Foid.h;h=e146a5398f11ac11b0e78ac771f9423a21135e31;hp=45fcd764fee48f3fdb2a5ce3666243980d312620;hb=c34d71d35aceed27cf7e30e6b329a235b48b9ccd;hpb=dc8023116d26e0999aa8a2cc4372baae55f28adb diff --git a/include/yaz/oid.h b/include/yaz/oid.h index 45fcd76..e146a53 100644 --- a/include/yaz/oid.h +++ b/include/yaz/oid.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: oid.h,v 1.8 2001-10-29 09:16:27 adam Exp $ + * $Id: oid.h,v 1.10 2002-02-11 23:25:26 adam Exp $ */ #ifndef OID_H @@ -61,7 +61,8 @@ typedef enum oid_class CLASS_VARSET, CLASS_SCHEMA, CLASS_TAGSET, - CLASS_GENERAL + CLASS_GENERAL, + CLASS_NEGOT } oid_class; typedef enum oid_value @@ -195,7 +196,15 @@ typedef enum oid_value VAL_ADMINSERVICE, VAL_HOLDINGS, VAL_HUNMARC, -/* add new types here... */ + VAL_CHARNEG3, + VAL_LIB1, + + VAL_VIRT, + VAL_UCS2, + VAL_UCS4, + VAL_UTF16, + VAL_UTF8, +/* 110 */ /* VAL_DYNAMIC must have highest value */ VAL_DYNAMIC, @@ -223,6 +232,10 @@ 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); + +YAZ_EXPORT void oid_trav (void (*func)(struct oident *oidinfo, void *vp), + void *vp); + YAZ_EXPORT void oid_init(void); YAZ_EXPORT void oid_exit(void);