+FILE *yaz_fopen(const char *path, const char *fname, const char *mode,
+ const char *base)
+{
+ char fullpath[1024];
+
+ if (!yaz_filepath_resolve(fname, path, base, fullpath))
+ return 0; /* failure */
+ return fopen(fullpath, mode);
+}
+
+int yaz_is_abspath(const char *p)