X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Ftpath.h;h=5f9e90703d348be346d15d1ec20f28502bd8c0a2;hb=651ccb74d12f2968e791b3f411a6c55bca68428a;hp=da4f7853a4139d426ec437ac8153ce8738b4a57c;hpb=78e049108ef4c65f1dc3dddd747e59b90b75a9a6;p=yaz-moved-to-github.git diff --git a/include/yaz/tpath.h b/include/yaz/tpath.h index da4f785..5f9e907 100644 --- a/include/yaz/tpath.h +++ b/include/yaz/tpath.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-2000, Index Data. + * Copyright (c) 1995-2002, Index Data. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -23,17 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Log: tpath.h,v $ - * Revision 1.2 2000-02-28 11:20:06 adam - * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL. - * - * Revision 1.1 1999/11/30 13:47:11 adam - * Improved installation. Moved header files to include/yaz. - * - * Revision 1.4 1997/10/31 12:20:08 adam - * Improved memory debugging for xmalloc/nmem.c. References to NMEM - * instead of ODR in n ESPEC-1 handling in source d1_espec.c. - * Bug fix: missing fclose in data1_read_espec1. + * $Id: tpath.h,v 1.4 2002-04-05 12:46:07 adam Exp $ * */ @@ -44,8 +34,14 @@ YAZ_BEGIN_CDECL -YAZ_EXPORT FILE *yaz_path_fopen(const char *path, - const char *name, const char *mode); +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); + +YAZ_EXPORT int yaz_fclose(FILE *f); + +YAZ_EXPORT int yaz_is_abspath (const char *p); YAZ_END_CDECL