Bump year
[yaz-moved-to-github.git] / include / yaz / tpath.h
index 425687e..b660e7e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1995-2002, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
  *
  * Permission to use, copy, modify, distribute, and sell this software and
  * its documentation, in whole or in part, for any purpose, is hereby granted,
  * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  * OF THIS SOFTWARE.
  *
- * $Id: tpath.h,v 1.3 2002-04-04 20:49:46 adam Exp $
+ * $Id: tpath.h,v 1.7 2005-01-15 19:47:10 adam Exp $
  *
  */
+/**
+ * \file tpath.h
+ * \brief Header for path fopen
+ */
 
 #ifndef TPATH_H
 #define TPATH_H
 
 YAZ_BEGIN_CDECL
 
-YAZ_EXPORT FILE *yaz_path_fopen_base(const char *path, const char *name,
-                                     const char *mode, const char *base);
+YAZ_EXPORT FILE *yaz_fopen(const char *path, const char *name,
+                           const char *mode, const char *base);
 YAZ_EXPORT FILE *yaz_path_fopen(const char *path, const char *name,
-                                const char *mode);
+                           const char *mode);
+
+YAZ_EXPORT int yaz_fclose(FILE *f);
 
 YAZ_EXPORT int yaz_is_abspath (const char *p);