/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: oid.h,v 1.23 2004-12-22 23:45:13 adam Exp $
+ * $Id: oid.h,v 1.28 2006-05-08 19:45:29 adam Exp $
*/
/**
YAZ_BEGIN_CDECL
#define OID_SIZE 20
+#define OID_STR_MAX 256
typedef enum oid_proto
{
VAL_MARC21FIN,
VAL_CHARNEG4,
+ VAL_XMLES,
/* VAL_DYNAMIC must have highest value */
VAL_DYNAMIC,
YAZ_EXPORT oid_value oid_getvalbyname(const char *name);
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);
+ 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 int *oid_name_to_oid(oid_class oclass, const char *name, int *oid);
YAZ_EXPORT char *oid_to_dotstring(const int *oid, char *oidbuf);
YAZ_EXPORT char *oid_name_to_dotstring(oid_class oclass, const char *name,
- char *oidbuf);
+ char *oidbuf);
YAZ_END_CDECL
#endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+