X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Foid.h;h=048918bd3d34b2f35c659b8a10c892a1f3f52695;hb=d99be352be2b2e14fe66e6010dd89919d36f7d98;hp=45fcd764fee48f3fdb2a5ce3666243980d312620;hpb=dc8023116d26e0999aa8a2cc4372baae55f28adb;p=yaz-moved-to-github.git diff --git a/include/yaz/oid.h b/include/yaz/oid.h index 45fcd76..048918b 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.15 2003-02-21 12:08:58 adam Exp $ */ #ifndef OID_H @@ -41,7 +41,8 @@ typedef enum oid_proto PROTO_Z3950, PROTO_SR, PROTO_GENERAL, - PROTO_WAIS + PROTO_WAIS, + PROTO_HTTP, } oid_proto; typedef enum oid_class @@ -61,7 +62,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 +197,20 @@ 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_IDXPATH, + VAL_BIB2, + VAL_ZEEREX, + VAL_CQL, /* VAL_DYNAMIC must have highest value */ VAL_DYNAMIC, @@ -223,6 +238,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);