diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-02-10 21:44:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 21:44:01 +0100 |
commit | 125556cb9847fd2c71296760d61228ad30476a8c (patch) | |
tree | d16eba0869547a574c293054972e8941c1c96c1c /src/feh.h | |
parent | 617e1f3a75fedb01af851694fe31df5b859239a2 (diff) | |
parent | 26cd770c8732a4467e57cf3e7a5d4c2518836275 (diff) |
Merge pull request #645 from eworm-de/magic
use libmagic to detect valid file formats
Diffstat (limited to 'src/feh.h')
-rw-r--r-- | src/feh.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -145,6 +145,10 @@ void init_slideshow_mode(void); void init_list_mode(void); void init_loadables_mode(void); void init_unloadables_mode(void); +#ifdef HAVE_LIBMAGIC +void uninit_magic(void); +void init_magic(void); +#endif void feh_clean_exit(void); int feh_should_ignore_image(Imlib_Image * im); int feh_load_image(Imlib_Image * im, feh_file * file); |