Added z_ext_record_oid_any() function.
[yaz-moved-to-github.git] / include / yaz / prt-ext.h
index 74f88e5..b59e358 100644 (file)
@@ -142,6 +142,9 @@ YAZ_EXPORT Z_ext_typeent *z_ext_getentbyref(const Odr_oid *oid);
 /** \brief encodes EXTERNAL record based on OID (NULL if not known) */
 YAZ_EXPORT Z_External *z_ext_record_oid(ODR o, const Odr_oid *oid,
                                         const char *buf, int len);
+/** \brief encodes EXTERNAL record as ANY */
+YAZ_EXPORT Z_External *z_ext_record_oid_any(ODR o, const Odr_oid *oid,
+                                        const char *buf, int len);
 /** \brief encodes EXTERNAL XML record */
 YAZ_EXPORT Z_External *z_ext_record_xml(ODR o, const char *buf, int len);