summaryrefslogtreecommitdiff
path: root/src/filelist.h
diff options
context:
space:
mode:
authorDaniel Friesel <ghub@derf.homelinux.org>2013-01-30 22:28:47 -0800
committerDaniel Friesel <ghub@derf.homelinux.org>2013-01-30 22:28:47 -0800
commitf104f321475d0828a5d7600919d32635b0f77a68 (patch)
tree8f0ad713451491efed75d5d16cfb2771fb17c249 /src/filelist.h
parent71c7ff9ff8eca3008f4b08ef1c4a670b9eb7c7fa (diff)
parent4fae6007dd64d223cdae3f977003f38e3036bada (diff)
Merge pull request #119 from guns/sort-mtime
New sort option: mtime
Diffstat (limited to 'src/filelist.h')
-rw-r--r--src/filelist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filelist.h b/src/filelist.h
index 00e36e8..7bfd518 100644
--- a/src/filelist.h
+++ b/src/filelist.h
@@ -56,7 +56,7 @@ struct __feh_file_info {
enum filelist_recurse { FILELIST_FIRST, FILELIST_CONTINUE, FILELIST_LAST };
-enum sort_type { SORT_NONE, SORT_NAME, SORT_FILENAME, SORT_WIDTH,
+enum sort_type { SORT_NONE, SORT_NAME, SORT_FILENAME, SORT_MTIME, SORT_WIDTH,
SORT_HEIGHT,
SORT_PIXELS,
SORT_SIZE, SORT_FORMAT
@@ -82,6 +82,7 @@ void feh_save_filelist();
int feh_cmp_name(void *file1, void *file2);
int feh_cmp_filename(void *file1, void *file2);
+int feh_cmp_mtime(void *file1, void *file2);
int feh_cmp_width(void *file1, void *file2);
int feh_cmp_height(void *file1, void *file2);
int feh_cmp_pixels(void *file1, void *file2);