about summary refs log tree commit diff
path: root/pkgs/build-support/build-sandbox/src/path-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/build-sandbox/src/path-cache.h')
-rw-r--r--pkgs/build-support/build-sandbox/src/path-cache.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/build-support/build-sandbox/src/path-cache.h b/pkgs/build-support/build-sandbox/src/path-cache.h
new file mode 100644
index 00000000..368f8d17
--- /dev/null
+++ b/pkgs/build-support/build-sandbox/src/path-cache.h
@@ -0,0 +1,10 @@
+#ifndef _PATH_CACHE_H
+#define _PATH_CACHE_H
+
+typedef void *path_cache;
+
+path_cache new_path_cache(void);
+void free_path_cache(path_cache pc);
+bool cache_path(path_cache pc, const char *path);
+
+#endif