summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-09-09 16:11:02 +0100
committerCarl Hetherington <cth@carlh.net>2012-09-09 16:11:02 +0100
commit17c46c84f24071cc7f50fb439967cffb3778e4de (patch)
treed6de48dadc778487809cc557968886c15d9efa12 /src/util.h
parent5bd1f0bf84b7ba1a59c8dc6c5c2fad5bf89b2c12 (diff)
Cope with paths having file:// at the start of them.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index af6a08d6..9485c450 100644
--- a/src/util.h
+++ b/src/util.h
@@ -46,6 +46,7 @@ extern std::string make_digest (std::string filename, sigc::signal1<void, float>
extern std::string content_kind_to_string (ContentKind kind);
extern ContentKind content_kind_from_string (std::string kind);
+extern bool starts_with (std::string big, std::string little);
extern bool ends_with (std::string big, std::string little);
extern opj_image_t* decompress_j2k (uint8_t* data, int64_t size, int reduce);