diff options
author | Colin Walters <walters@verbum.org> | 2015-01-07 08:05:42 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-01-07 08:05:42 -0500 |
commit | df3dd55ff0a596b5245620856d3433d45505fddc (patch) | |
tree | 45ed2e17d3a479eb81f44232c0e33f0640b885c5 /src/gsystem-file-utils.h | |
parent | ff422e743c68f494748b8b133a7fcfdc6bbf31e1 (diff) | |
download | libgsystem-df3dd55ff0a596b5245620856d3433d45505fddc.tar.gz |
libgsystem: Add gs_fd_get_all_xattrs
This is a file-descriptor variant which is useful for reading from
directories and regular files (it can't work on symlinks).
Diffstat (limited to 'src/gsystem-file-utils.h')
-rw-r--r-- | src/gsystem-file-utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gsystem-file-utils.h b/src/gsystem-file-utils.h index 32fa0cc..24a1ba2 100644 --- a/src/gsystem-file-utils.h +++ b/src/gsystem-file-utils.h @@ -195,6 +195,11 @@ gboolean gs_file_get_all_xattrs (GFile *f, GCancellable *cancellable, GError **error); +gboolean gs_fd_get_all_xattrs (int fd, + GVariant **out_xattrs, + GCancellable *cancellable, + GError **error); + gboolean gs_dfd_and_name_get_all_xattrs (int dfd, const char *name, GVariant **out_xattrs, |