summaryrefslogtreecommitdiff
path: root/src/gallery-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallery-utils.h')
-rw-r--r--src/gallery-utils.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gallery-utils.h b/src/gallery-utils.h
index 3b12616..7e5e2c0 100644
--- a/src/gallery-utils.h
+++ b/src/gallery-utils.h
@@ -37,7 +37,7 @@ gboolean copy_file (const char *src, const char *dst);
* make_string: make string of 'substr' substrings
* - returns newly allocated string
*/
-char *make_string (const char* substr, int count);
+char *make_string (const char *substr, int count);
/*
* fix_entities: replace all invalid & entities with &
@@ -55,4 +55,9 @@ void remove_tags (char **str, const char *tag_begin, const char *tag_end);
/*
* count_dir_levels: returns number of path elements
*/
-int count_dir_levels (const char* path);
+int count_dir_levels (const char *path);
+
+/*
+ * extract_file_ext: returns pointer to filename extension
+ */
+const char *extract_file_ext (const char *filename);