/usr/include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-mime-info.h is in libgnomevfs2-dev 1:2.24.4-6+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* gnome-vfs-mime-info.h
*
* Copyright (C) 1998 Miguel de Icaza
* Copyright (C) 2000 Eazel, Inc
*
* The Gnome Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* The Gnome Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with the Gnome Library; see the file COPYING.LIB. If not,
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef GNOME_VFS_MIME_INFO_H
#define GNOME_VFS_MIME_INFO_H
#include <glib.h>
#include <libgnomevfs/gnome-vfs-result.h>
G_BEGIN_DECLS
const char *gnome_vfs_mime_get_value (const char *mime_type,
const char *key);
gboolean gnome_vfs_mime_type_is_known (const char *mime_type);
void gnome_vfs_mime_freeze (void);
void gnome_vfs_mime_thaw (void);
GList *gnome_vfs_mime_get_extensions_list (const char *mime_type);
void gnome_vfs_mime_extensions_list_free (GList *list);
GnomeVFSResult gnome_vfs_mime_set_registered_type_key (const char *mime_type,
const char *key,
const char *data);
/* forces a reload of the config files */
void gnome_vfs_mime_info_reload (void);
#ifndef GNOME_VFS_DISABLE_DEPRECATED
/* functions which access to the .keys files */
GnomeVFSResult gnome_vfs_mime_set_value (const char *mime_type,
const char *key,
const char *value);
GList *gnome_vfs_mime_get_key_list (const char *mime_type);
void gnome_vfs_mime_keys_list_free (GList *mime_type_list);
/* functions to access the .mime files */
char *gnome_vfs_mime_get_extensions_string (const char *mime_type);
char *gnome_vfs_mime_get_extensions_pretty_string (const char *mime_type);
GList *gnome_vfs_get_registered_mime_types (void);
void gnome_vfs_mime_registered_mime_type_list_free (GList *list);
GnomeVFSResult gnome_vfs_mime_set_extensions_list (const char *mime_type,
const char *extensions_list);
void gnome_vfs_mime_registered_mime_type_delete (const char *mime_type);
void gnome_vfs_mime_reset (void);
#endif /* GNOME_VFS_DISABLE_DEPRECATED */
G_END_DECLS
#endif /* GNOME_VFS_MIME_INFO_H */
|