+void mp_util::set_vhost_otherinfo(
+ Z_OtherInformation **otherInformation, ODR odr,
+ const std::string vhost, const int cat)
+{
+ const int *oid_proxy = yaz_string_to_oid(yaz_oid_std(),
+ CLASS_USERINFO,
+ OID_STR_PROXY);
+
+ yaz_oi_set_string_oid(otherInformation, odr,
+ oid_proxy, cat, vhost.c_str());
+}
+