summaryrefslogtreecommitdiff
path: root/rld-path.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-09-07 10:47:00 +1000
committerChris Johns <chrisj@rtems.org>2014-09-07 10:47:00 +1000
commit5c75d3435ae8e049a3049a6eec1295f1de2694cf (patch)
treef16740b1b5ce05adff8e9451cd58b347091ec0d4 /rld-path.h
parent7eb74f8b5318e14508eba980dc97c2813624963e (diff)
rtems-tld: Add --wrapper option to aid testing.
The --wrapper option lets a user control the wrapper file name and location to aid testing. Add keep support to tempfiles so specific tempfile can be set to be kept. Add unlink to the rld::path namespace.
Diffstat (limited to 'rld-path.h')
-rw-r--r--rld-path.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rld-path.h b/rld-path.h
index f501fb4..0e1329a 100644
--- a/rld-path.h
+++ b/rld-path.h
@@ -128,6 +128,13 @@ namespace rld
const std::string& name,
paths& search_paths);
+ /**
+ * Unlink the file.
+ *
+ * @param path The path of the file to unlink.
+ */
+ void unlink (const std::string& path, bool not_present_error = false);
+
}
}