/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: z3950oid.c,v 1.1 2003-10-27 12:21:36 adam Exp $
+ * $Id: z3950oid.c,v 1.6 2007-01-03 08:42:15 adam Exp $
*/
+/** \file z3950oid.c
+ \brief Z3950 OID conversion utilities
+*/
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
ident.value = (enum oid_value) oid_value;
if (ident.value == VAL_NONE)
- return 0;
+ return 0;
return odr_oiddup(o, oid_ent_to_oid(&ident, oid));
}
ident.value = oid_getvalbyname(str);
if (ident.value == VAL_NONE)
- return 0;
+ return 0;
return odr_oiddup(o, oid_ent_to_oid(&ident, oid));
}
struct oident *ident = oid_getentbyoid(oid);
if (!ident || ident->value == VAL_NONE)
- return 0;
+ return 0;
*oid_class = ident->oclass;
return ident->desc;
}
return "";
}
}
-
-
/*
* Local variables:
- * tab-width: 8
* c-basic-offset: 4
+ * indent-tabs-mode: nil
* End:
- * vim600: sw=4 ts=8 fdm=marker
- * vim<600: sw=4 ts=8
+ * vim: shiftwidth=4 tabstop=8 expandtab
*/
+