diff options
| author | Alexander Larsson <alexl@redhat.com> | 2009-06-18 09:05:27 +0200 |
|---|---|---|
| committer | Alexander Larsson <alexl@redhat.com> | 2009-06-23 16:35:42 +0200 |
| commit | 7662c86611bf44175f18ec6eb66f159040ac73c5 (patch) | |
| tree | bd5af6a1de915492793dc2b792b26371e3c0cc7a /gio/glocalfileinfo.h | |
| parent | 9a6146f54cdc085a42095b930066853dbb4e0c67 (diff) | |
| download | glib-7662c86611bf44175f18ec6eb66f159040ac73c5.tar.gz | |
Add extension point for adding metadata for local files
This adds a local_file_add_info vfunc to GVfs that vfs implementations
can override to add metadata for local files.
Diffstat (limited to 'gio/glocalfileinfo.h')
| -rw-r--r-- | gio/glocalfileinfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gio/glocalfileinfo.h b/gio/glocalfileinfo.h index 29ccfc04c..82ad7463a 100644 --- a/gio/glocalfileinfo.h +++ b/gio/glocalfileinfo.h @@ -39,6 +39,8 @@ typedef struct gboolean has_trash_dir; int owner; dev_t device; + gpointer extra_data; + GDestroyNotify free_extra_data; } GLocalParentFileInfo; #ifdef G_OS_WIN32 @@ -53,6 +55,7 @@ gboolean _g_local_file_has_trash_dir (const char *dirname, void _g_local_file_info_get_parent_info (const char *dir, GFileAttributeMatcher *attribute_matcher, GLocalParentFileInfo *parent_info); +void _g_local_file_info_free_parent_info (GLocalParentFileInfo *parent_info); GFileInfo *_g_local_file_info_get (const char *basename, const char *path, GFileAttributeMatcher *attribute_matcher, |
