X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Ftpath.h;h=726f3eb3e94a54a47bd4d4a5f436601f0e107762;hb=c43b2d080cc557adb59b37b3d8f427871481c7e8;hp=425687e3b19ee4f6440f89a8372dbe34879e63a2;hpb=98f0cc2d7eeed27912edb88bf16512bb622b19ee;p=yaz-moved-to-github.git diff --git a/include/yaz/tpath.h b/include/yaz/tpath.h index 425687e..726f3eb 100644 --- a/include/yaz/tpath.h +++ b/include/yaz/tpath.h @@ -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, @@ -23,9 +23,13 @@ * 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.8 2005-06-25 15:46:03 adam Exp $ * */ +/** + * \file tpath.h + * \brief Header for path fopen + */ #ifndef TPATH_H #define TPATH_H @@ -34,13 +38,23 @@ 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); YAZ_END_CDECL #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +