summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r--crawl-ref/source/libutil.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h
index 4378e029b3..0009f28882 100644
--- a/crawl-ref/source/libutil.h
+++ b/crawl-ref/source/libutil.h
@@ -21,11 +21,13 @@
void lowercase(std::string &s);
void uppercase(std::string &s);
+std::string strip_filename_unsafe_chars(const std::string &s);
+
std::string make_stringf(const char *format, ...);
-std::string replace_all(std::string s,
- const std::string &tofind,
- const std::string &replacement);
+std::string replace_all_of(std::string s,
+ const std::string &tofind,
+ const std::string &replacement);
int count_occurrences(const std::string &text, const std::string &searchfor);