X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fyaz%2Ftpath.h;h=69dcbc4af37be8cb772bc2cce9918d7c1892a13f;hb=15aeea31b59ead99109571dcf67a5f3b78fd5585;hp=59de466d7abf78b68ba1f20a92aac677f81cf601;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755;p=yaz-moved-to-github.git diff --git a/include/yaz/tpath.h b/include/yaz/tpath.h index 59de466..69dcbc4 100644 --- a/include/yaz/tpath.h +++ b/include/yaz/tpath.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data. + * 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: @@ -43,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) @@ -63,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.