X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Futils.h;h=2b2f23cba6cc2168ccd0c61a4a4bfe92f58bf60a;hb=da904316fb2ed4e2d084726e20f514f6faf956f7;hp=961ad499674666629ecc7b635d04032e2b5d63ac;hpb=058953b54ba1a3fbf95db92a0e60e6c9581bfb6b;p=libs%2Fcore.git diff --git a/source/utils.h b/source/utils.h index 961ad49..2b2f23c 100644 --- a/source/utils.h +++ b/source/utils.h @@ -28,6 +28,8 @@ extern std::list list_files(const Path &); extern bool exists(const Path &); extern Filename splitext(const std::string &); extern int fnmatch(const std::string &, const Path &); +extern Path relative(const Path &, const Path &); +extern std::string basename(const std::string &); inline int stat(const Path &fn, struct stat &st) { return ::stat(fn.str().c_str(), &st); }