+
+/** \brief encode SRU database for HTTP path
+ \param out memory handle for resulting encoded database string
+ \param db source database
+ \returns encoded database path (includes leading /)
+*/
+YAZ_EXPORT
+char *yaz_encode_sru_dbpath_odr(ODR out, const char *db);
+
+/** \brief encode SRU database for HTTP path
+ \param dst destination buffer (should be at least strlen(db) +2 in size)
+ \param db source database
+
+ The resulting database (dst) includes a leading /
+*/
+YAZ_EXPORT
+void yaz_encode_sru_dbpath_buf(char *dst, const char *db);