2 * Copyright (C) 1997-2001 Free Software Foundation
3 * Copyright (C) 2000, 2001 Eazel, Inc.
6 * This file is part of the Gnome Library.
8 * The Gnome Library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public License as
10 * published by the Free Software Foundation; either version 2 of the
11 * License, or (at your option) any later version.
13 * The Gnome Library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with the Gnome Library; see the file COPYING.LIB. If not,
20 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 #ifndef GNOME_VFS_MIME_UTILS_H
25 #define GNOME_VFS_MIME_UTILS_H
27 #include <glib/gtypes.h>
32 * GNOME_VFS_MIME_TYPE_UNKNOWN:
34 * The value returned for the MIME type when a file did
35 * not match any entries in the MIME database. May be
36 * treated as a file of an unknown type.
38 #define GNOME_VFS_MIME_TYPE_UNKNOWN "application/octet-stream"
40 const char *gnome_vfs_get_mime_type_for_data (gconstpointer data,
43 char *gnome_vfs_get_mime_type (const char *text_uri);