summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-15 13:05:40 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-15 13:05:40 +0200
commit1127e07a2a6d6b3c0cbd342396e6c8af7ee54040 (patch)
tree1c21fe3da449094d0d7860fe88dc9d6ce26b183d /include
parenta4c747472abc18e5fcb5a2e5caf7fe7ed1495027 (diff)
downloadcrawler-1127e07a2a6d6b3c0cbd342396e6c8af7ee54040.tar.gz
crawler-1127e07a2a6d6b3c0cbd342396e6c8af7ee54040.tar.bz2
added a directory scanner (Linux for now)
Diffstat (limited to 'include')
-rw-r--r--include/util/FileUtils.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/util/FileUtils.hpp b/include/util/FileUtils.hpp
new file mode 100644
index 0000000..a9526ec
--- /dev/null
+++ b/include/util/FileUtils.hpp
@@ -0,0 +1,11 @@
+#ifndef __UTIL_FILE_UTILS_H
+#define __UTIL_FILE_UTILS_H
+
+#include <string>
+#include <vector>
+
+#include "util/UtilExportable.hpp"
+
+UTIL_DLL_VISIBLE std::vector<std::string> directory_entries( const std::string &dir, bool absolute = false, bool recursive = false );
+
+#endif