X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Foid.h;h=d59209f8bd70a13d8febb1a8ea03cf31829fb295;hb=12be48d5f580afc49f3a08db84ddfddad0334509;hp=fb38708e7478ea636fd438648252a7d97df0761e;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/include/yaz/oid.h b/include/yaz/oid.h index fb38708..d59209f 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.24 2005-01-15 19:47:09 adam Exp $ + * $Id: oid.h,v 1.28 2006-05-08 19:45:29 adam Exp $ */ /** @@ -42,6 +42,7 @@ YAZ_BEGIN_CDECL #define OID_SIZE 20 +#define OID_STR_MAX 256 typedef enum oid_proto { @@ -230,6 +231,7 @@ typedef enum oid_value VAL_MARC21FIN, VAL_CHARNEG4, + VAL_XMLES, /* VAL_DYNAMIC must have highest value */ VAL_DYNAMIC, @@ -255,8 +257,8 @@ 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, 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); @@ -266,8 +268,16 @@ YAZ_EXPORT void oid_exit(void); 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 + */ +