+
+
+const char* yaz_z3950_oid_value_to_str(oid_value ov, oid_class oc)
+{
+ struct oident tmpentry;
+ int tmp_oid[OID_SIZE];
+
+ tmpentry.proto = PROTO_Z3950;
+ tmpentry.oclass = oc;
+ tmpentry.value = ov;
+
+ if( oid_ent_to_oid(&tmpentry,tmp_oid) )
+ {
+ return tmpentry.desc;
+ }
+ else
+ {
+ return "";
+ }
+}
+
+
+/*
+ * Local variables:
+ * tab-width: 8
+ * c-basic-offset: 4
+ * End:
+ * vim600: sw=4 ts=8 fdm=marker
+ * vim<600: sw=4 ts=8
+ */