X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Foid.h;h=bb954146190b996822ba3605bb4c34d2480a5947;hb=8d363b42a1805306b5df26aac694a4491d5c9119;hp=2da55274f0c4e9770f7d114216fe071485d8837b;hpb=23cfa431fda52535722e4efdc3f462995937e863;p=yaz-moved-to-github.git diff --git a/include/oid.h b/include/oid.h index 2da5527..bb95414 100644 --- a/include/oid.h +++ b/include/oid.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-1998, Index Data. + * Copyright (c) 1995-1999, Index Data. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -23,99 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Log: oid.h,v $ - * Revision 1.28 1998-10-13 16:01:52 adam - * Implemented support for dynamic object identifiers. - * Function oid_getvalbyname now accepts raw OID's as well as traditional - * names. - * - * Revision 1.27 1998/05/18 13:06:58 adam - * Changed the way attribute sets are handled by the retriaval module. - * Extended Explain conversion / schema. - * Modified server and client to work with ASN.1 compiled protocol handlers. - * - * Revision 1.26 1998/03/20 14:46:06 adam - * Added UNIverse Resource Reports. - * - * Revision 1.25 1998/02/10 15:31:52 adam - * Implemented date and time structure. Changed the Update Extended - * Service. - * - * Revision 1.24 1997/09/29 13:18:59 adam - * Added function, oid_ent_to_oid, to replace the function - * oid_getoidbyent, which is not thread safe. - * - * 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 - * 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 - * Fiddling with the variant stuff. - * - * Revision 1.9 1995/10/12 10:34:45 quinn - * Added Espec-1. - * - * Revision 1.8 1995/10/10 16:27:08 quinn - * *** empty log message *** - * - * Revision 1.7 1995/09/29 17:12:05 quinn - * Smallish - * - * Revision 1.6 1995/09/27 15:02:48 quinn - * Modified function heads & prototypes. - * - * Revision 1.5 1995/09/12 11:31:46 quinn - * Added some oids. - * - * Revision 1.4 1995/06/27 13:20:32 quinn - * Added SUTRS support - * - * Revision 1.3 1995/05/29 08:11:33 quinn - * Moved oid from odr/asn to util. - * - * Revision 1.2 1995/05/16 08:50:35 quinn - * License, documentation, and memory fixes - * - * Revision 1.1 1995/03/30 09:39:41 quinn - * Moved .h files to include directory - * - * Revision 1.1 1995/03/27 08:32:13 quinn - * Added OID database - * - * + * $Id: oid.h,v 1.33 1999-05-27 13:02:20 adam Exp $ */ #ifndef OID_H @@ -210,6 +118,7 @@ typedef enum oid_value VAL_PQUERY, VAL_PCQUERY, VAL_ITEMORDER, + VAL_DBUPDATE0, VAL_DBUPDATE, VAL_EXPORTSPEC, VAL_EXPORTINV, @@ -239,11 +148,16 @@ typedef enum oid_value VAL_TIFFB, VAL_WAV, VAL_UPDATEES, + VAL_TEXT_XML, + VAL_APPLICATION_XML, VAL_UNIVERSE_REPORT, + VAL_PROXY, + VAL_COOKIE, /* add new types here... */ /* VAL_DYNAMIC must have highest value */ - VAL_DYNAMIC + VAL_DYNAMIC, + VAL_MAX = VAL_DYNAMIC+30 } oid_value; typedef struct oident @@ -264,7 +178,8 @@ 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); -YAZ_EXPORT struct oident *oid_addent (int *oid, int proto, int oclass, +YAZ_EXPORT struct oident *oid_addent (int *oid, enum oid_proto proto, + enum oid_class oclass, const char *desc, int value); #ifdef __cplusplus