X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ftpath.h;h=69dcbc4af37be8cb772bc2cce9918d7c1892a13f;hp=44e064a0cc283c8b4409fc48d2652586d820f4b3;hb=77aaeaf4801a896d3eaa93b8d76a81be82d95bad;hpb=8d691989077a0addcbd840d769dce6700f3d9622 diff --git a/include/yaz/tpath.h b/include/yaz/tpath.h index 44e064a..69dcbc4 100644 --- a/include/yaz/tpath.h +++ b/include/yaz/tpath.h @@ -1,5 +1,5 @@ -/* - * Copyright (c) 1995-2007, Index Data +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2011 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -24,7 +24,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: tpath.h,v 1.14 2007-01-03 08:42:14 adam Exp $ */ /** * \file tpath.h @@ -44,7 +43,7 @@ YAZ_BEGIN_CDECL \retval 1 path is absolute \retval 0 path is relative */ -YAZ_EXPORT int yaz_is_abspath (const char *path); +YAZ_EXPORT int yaz_is_abspath(const char *path); /** \brief get next path component in filepath \param path_p pointer to path (updated to "next" entry if any) @@ -64,7 +63,7 @@ YAZ_EXPORT size_t yaz_filepath_comp(const char **path_p, const char **comp); \param fname "short" filename (without path) \param path the path (dir1:dir2,..) - ala Unix \param base can be added to relative paths (NULL for no append) - \param fullpath the full path to filename (if succesful) + \param fullpath the full path to filename (if successful) Returns 0/NULL if no fname could be found in path; pointer to fullpath if fname could be found. @@ -112,6 +111,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab