summaryrefslogtreecommitdiff
path: root/src/envfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/envfs.h')
-rw-r--r--src/envfs.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/envfs.h b/src/envfs.h
new file mode 100644
index 00000000..aeaa6796
--- /dev/null
+++ b/src/envfs.h
@@ -0,0 +1,17 @@
+#ifndef ENV_ENVFS_H
+#define ENV_ENVFS_H
+
+namespace env
+{
+
+using DirStartF = void (void*, std::wstring_view);
+using DirEndF = void (void*, std::wstring_view);
+using FileF = void (void*, std::wstring_view, FILETIME);
+
+void forEachEntry(
+ const std::wstring& path, void* cx,
+ DirStartF* dirStartF, DirEndF* dirEndF, FileF* fileF);
+
+} // namespace
+
+#endif // ENV_ENVFS_H