diff options
Diffstat (limited to 'lib/ephy-file-helpers.h')
-rw-r--r-- | lib/ephy-file-helpers.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h index 6beb2951a..8b9a99c13 100644 --- a/lib/ephy-file-helpers.h +++ b/lib/ephy-file-helpers.h @@ -1,5 +1,7 @@ /* * Copyright (C) 2002 Jorn Baayen + * Copyright (C) 2003, 2004 Marco Pesenti Gritti + * Copyright (C) 2004 Christian Persch * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,6 +27,13 @@ G_BEGIN_DECLS +typedef enum +{ + EPHY_MIME_PERMISSION_SAFE = 1, + EPHY_MIME_PERMISSION_UNSAFE = 2, + EPHY_MIME_PERMISSION_UNKNOWN = 3 +} EphyMimePermission; + const char *ephy_file (const char *filename); const char *ephy_dot_dir (void); @@ -53,6 +62,8 @@ gboolean ephy_file_switch_temp_file (const char *filename, void ephy_file_delete_on_exit (const char *path); +EphyMimePermission ephy_file_check_mime (const char *mime_type); + G_END_DECLS #endif /* EPHY_FILE_HELPERS_H */ |