From 06af1a3cc9920780c7edeba34677fc66b18ff5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 18 Nov 2021 12:44:25 +0100 Subject: Add a command line option to list supported types Make it work without a display connection. --- fastiv-io.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fastiv-io.h') diff --git a/fastiv-io.h b/fastiv-io.h index 6275bc2..5a90e91 100644 --- a/fastiv-io.h +++ b/fastiv-io.h @@ -22,6 +22,8 @@ extern const char *fastiv_io_supported_media_types[]; +char **fastiv_io_all_supported_media_types(void); + cairo_surface_t *fastiv_io_open(const gchar *path, GError **error); cairo_surface_t *fastiv_io_open_from_data( const char *data, size_t len, const gchar *path, GError **error); -- cgit v1.2.3