+const char *data1_get_tabroot (data1_handle dp)
+{
+ return dp->tab_root;
+}
+
+FILE *data1_path_fopen (data1_handle dh, const char *file, const char *mode)
+{
+ const char *path = data1_get_tabpath(dh);
+ const char *root = data1_get_tabroot(dh);
+ return yaz_fopen (path, file, "r", root);
+}
+
+int data1_is_xmlmode(data1_handle dh)
+{
+ return dh->flags & DATA1_FLAG_XML;
+}