X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=filedata.hpp;h=b339f05f92b2fcc4c425e13c119b56bbb37a8a5b;hb=cf40d63bd02d974c42c6f0512be27d504015400c;hp=62546747f1f3e8d7da7f49680ee73e3d9679c29a;hpb=831e1711cdf96ccd26203aec08a46e5c09bca3bd;p=backups%2F.git diff --git a/filedata.hpp b/filedata.hpp index 6254674..b339f05 100644 --- a/filedata.hpp +++ b/filedata.hpp @@ -4,6 +4,7 @@ #include #include #include +#include class FileData { public: @@ -67,6 +68,8 @@ struct FileDataNameCmp { std::less cmp; }; +bool needs_backup( const FileData *before, const FileData *after ); + typedef std::set file_set; typedef std::vector file_vector;