summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs/patches/patch-cd
blob: ee4223cef1a8214ec4785c0c43102627bbf9fd61 (plain)
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
$NetBSD: patch-cd,v 1.1 2007/09/19 22:22:44 wiz Exp $

--- libgnomevfs/xdgmimecache.h.orig	2007-02-09 19:29:40.000000000 +0100
+++ libgnomevfs/xdgmimecache.h
@@ -44,20 +44,27 @@ XdgMimeCache *_xdg_mime_cache_ref       
 void          _xdg_mime_cache_unref         (XdgMimeCache *cache);
 
 
+#define _xdg_mime_cache_get_mime_type_for_data _gnomevfs_xdg_mime_cache_get_mime_type_for_data
 const char  *_xdg_mime_cache_get_mime_type_for_data       (const void *data,
 		 				           size_t      len);
+#define _xdg_mime_cache_get_mime_type_for_file _gnomevfs_xdg_mime_cache_get_mime_type_for_file
 const char  *_xdg_mime_cache_get_mime_type_for_file       (const char  *file_name,
 							   struct stat *statbuf);
+#define _xdg_mime_cache_get_mime_type_from_file_name _gnomevfs_xdg_mime_cache_get_mime_type_from_file_name
 const char  *_xdg_mime_cache_get_mime_type_from_file_name (const char *file_name);
 int          _xdg_mime_cache_is_valid_mime_type           (const char *mime_type);
 int          _xdg_mime_cache_mime_type_equal              (const char *mime_a,
 						           const char *mime_b);
 int          _xdg_mime_cache_media_type_equal             (const char *mime_a,
 							   const char *mime_b);
+#define _xdg_mime_cache_mime_type_subclass _gnomevfs_xdg_mime_cache_mime_type_subclass
 int          _xdg_mime_cache_mime_type_subclass           (const char *mime_a,
 							   const char *mime_b);
+#define _xdg_mime_cache_list_mime_parents _gnomevfs_xdg_mime_cache_list_mime_parents
 char       **_xdg_mime_cache_list_mime_parents		  (const char *mime);
+#define _xdg_mime_cache_unalias_mime_type _gnomevfs_xdg_mime_cache_unalias_mime_type
 const char  *_xdg_mime_cache_unalias_mime_type            (const char *mime);
+#define _xdg_mime_cache_get_max_buffer_extents _gnomevfs_xdg_mime_cache_get_max_buffer_extents
 int          _xdg_mime_cache_get_max_buffer_extents       (void);
 
 #endif /* __XDG_MIME_CACHE_H__ */