opening files using mimetypes defined in config.h

This commit is contained in:
nova
2025-06-18 04:08:02 +02:00
parent 1485d69cad
commit f99035629a
10 changed files with 106 additions and 41 deletions

View File

@ -1,3 +1,4 @@
#include "file_previews.c"
char* preview_file(char *path, unsigned long file_size);
char* get_mimetype(char *path);