~adam-stokes/ubuntu/quantal/gnome-vfs/lp977940-multiarch

« back to all changes in this revision

Viewing changes to libgnomevfs/xdgmimecache.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-08-05 10:31:15 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080805103115-5vkex0yk6qq619x5
Tags: 1:2.23.0-0ubuntu1
* New upstream version:
  - Sync xdgmime with GIO
* debian/patches/90_from_svn_no_range_for_youtube.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
typedef struct _XdgMimeCache XdgMimeCache;
33
33
 
34
34
#ifdef XDG_PREFIX
35
 
#define _xdg_mime_cache_new_from_file        XDG_ENTRY(cache_new_from_file)
36
 
#define _xdg_mime_cache_ref                  XDG_ENTRY(cache_ref)
37
 
#define _xdg_mime_cache_unref                XDG_ENTRY(cache_unref)
 
35
#define _xdg_mime_cache_new_from_file                 XDG_RESERVED_ENTRY(cache_new_from_file)
 
36
#define _xdg_mime_cache_ref                           XDG_RESERVED_ENTRY(cache_ref)
 
37
#define _xdg_mime_cache_unref                         XDG_RESERVED_ENTRY(cache_unref)
 
38
#define _xdg_mime_cache_get_max_buffer_extents        XDG_RESERVED_ENTRY(cache_get_max_buffer_extents)
 
39
#define _xdg_mime_cache_get_mime_type_for_data        XDG_RESERVED_ENTRY(cache_get_mime_type_for_data)
 
40
#define _xdg_mime_cache_get_mime_type_for_file        XDG_RESERVED_ENTRY(cache_get_mime_type_for_file)
 
41
#define _xdg_mime_cache_get_mime_type_from_file_name  XDG_RESERVED_ENTRY(cache_get_mime_type_from_file_name)
 
42
#define _xdg_mime_cache_get_mime_types_from_file_name XDG_RESERVED_ENTRY(cache_get_mime_types_from_file_name)
 
43
#define _xdg_mime_cache_list_mime_parents             XDG_RESERVED_ENTRY(cache_list_mime_parents)
 
44
#define _xdg_mime_cache_mime_type_subclass            XDG_RESERVED_ENTRY(cache_mime_type_subclass)
 
45
#define _xdg_mime_cache_unalias_mime_type             XDG_RESERVED_ENTRY(cache_unalias_mime_type)
 
46
#define _xdg_mime_cache_get_icon                      XDG_RESERVED_ENTRY(cache_get_icon)
 
47
#define _xdg_mime_cache_get_generic_icon              XDG_RESERVED_ENTRY(cache_get_generic_icon)
 
48
#define _xdg_mime_cache_glob_dump                     XDG_RESERVED_ENTRY(cache_glob_dump)
38
49
#endif
39
50
 
40
51
extern XdgMimeCache **_caches;
45
56
 
46
57
 
47
58
const char  *_xdg_mime_cache_get_mime_type_for_data       (const void *data,
48
 
                                                           size_t      len);
 
59
                                                           size_t      len,
 
60
                                                           int        *result_prio);
49
61
const char  *_xdg_mime_cache_get_mime_type_for_file       (const char  *file_name,
50
62
                                                           struct stat *statbuf);
 
63
int          _xdg_mime_cache_get_mime_types_from_file_name (const char *file_name,
 
64
                                                            const char  *mime_types[],
 
65
                                                            int          n_mime_types);
51
66
const char  *_xdg_mime_cache_get_mime_type_from_file_name (const char *file_name);
52
67
int          _xdg_mime_cache_is_valid_mime_type           (const char *mime_type);
53
68
int          _xdg_mime_cache_mime_type_equal              (const char *mime_a,
59
74
char       **_xdg_mime_cache_list_mime_parents            (const char *mime);
60
75
const char  *_xdg_mime_cache_unalias_mime_type            (const char *mime);
61
76
int          _xdg_mime_cache_get_max_buffer_extents       (void);
 
77
const char  *_xdg_mime_cache_get_icon                     (const char *mime);
 
78
const char  *_xdg_mime_cache_get_generic_icon             (const char *mime);
 
79
void         _xdg_mime_cache_glob_dump                    (void);
62
80
 
63
81
#endif /* __XDG_MIME_CACHE_H__ */