le_path.h
Go to the documentation of this file.
2 //--------------------------------------------------------------------------------------------------19 * The function @c le_path_GetDir() is a convenient way to get the path's directory without having21 * separator. le_path_GetDir() does not modify the path in anyway (i.e., consecutive paths are left24 * The function le_path_GetBasenamePtr() is an efficient and convenient function for accessing the32 * All the functions in this API are thread safe and reentrant unless of course the path iterators43 //--------------------------------------------------------------------------------------------------56 //--------------------------------------------------------------------------------------------------64 //--------------------------------------------------------------------------------------------------74 //--------------------------------------------------------------------------------------------------82 //--------------------------------------------------------------------------------------------------90 //--------------------------------------------------------------------------------------------------94 * Concatenates the path in the pathPtr buffer with all path segments and stores the result in the102 * @warning The (char*)NULL at the end of the list of path segments is mandatory. If this NULL is109 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------124 * Checks if path2 is a subpath of path1. That is path2 has the same starting nodes as path2. For134 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------le_result_t le_path_Concat(const char *separatorPtr, char *pathPtr, size_t pathSize,...)char * le_path_FindTrailing(const char *pathPtr, const char *extPtr)char * le_path_GetBasenamePtr(const char *pathPtr, const char *separatorPtr)bool le_path_IsSubpath(const char *path1Ptr, const char *path2Ptr, const char *separatorPtr)le_result_t le_path_GetDir(const char *pathPtr, const char *separatorPtr, char *dirPtr, size_t dirBuffSize)bool le_path_IsEquivalent(const char *path1Ptr, const char *path2Ptr, const char *separatorPtr)