-#else
-YAZ_EXPORT int yaz_srw_codec(ODR o, xmlNodePtr pptr,
- Z_SRW_searchRetrieve **handler_data,
- void *client_data, const char *ns);
-#endif
-YAZ_EXPORT Z_SRW_searchRetrieve *yaz_srw_get(ODR o, int which);
+YAZ_EXPORT Z_SRW_PDU *yaz_srw_get(ODR o, int which);
+
+YAZ_EXPORT const char *yaz_diag_srw_str (int code);
+
+YAZ_EXPORT int yaz_diag_bib1_to_srw (int bib1_code);
+
+YAZ_EXPORT int yaz_diag_srw_to_bib1(int srw_code);
+
+