MARC8 decoding for yaz_iconv.
[yaz-moved-to-github.git] / util / tpath.c
index b8f0794..e205321 100644 (file)
@@ -3,7 +3,7 @@
  * See the file LICENSE for details.
  * Sebastian Hammer, Adam Dickmeiss
  *
- * $Id: tpath.c,v 1.6 2002-04-04 20:49:46 adam Exp $
+ * $Id: tpath.c,v 1.8 2002-04-05 12:49:13 adam Exp $
  */
 #if HAVE_CONFIG_H
 #include <config.h>
 
 FILE *yaz_path_fopen(const char *path, const char *name, const char *mode)
 {
-    return yaz_path_fopen_base (path, name, mode, 0);
+    return yaz_fopen (path, name, mode, 0);
 }
 
-FILE *yaz_path_fopen_base(const char *path, const char *name, const char *mode,
-                          const char *base)
+int yaz_fclose (FILE *f)
+{
+    return fclose (f);
+}
+
+FILE *yaz_fopen(const char *path, const char *name, const char *mode,
+                const char *base)
 {
     char spath[1024];