diff options
author | Colin Walters <walters@verbum.org> | 2014-02-27 11:46:49 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-02-27 11:47:35 -0500 |
commit | 7a2499708b6aa0be5a67e4a75de66fb9c18516af (patch) | |
tree | 5ba8d4e77b4220e5ff9d498150fe81ab11bc91bd /gsystem-file-utils.h | |
parent | 31cd0b96bba5ccf391f4c4f5d94cddce44c65793 (diff) | |
download | libgsystem-submodule.tar.gz |
fileutils: Add gs_file_open_dir_fd_at()submodule
This will be used in the OSTree checkout code, where we want to
mkdir() and then open it.
Diffstat (limited to 'gsystem-file-utils.h')
-rw-r--r-- | gsystem-file-utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gsystem-file-utils.h b/gsystem-file-utils.h index d1cfda2..f873746 100644 --- a/gsystem-file-utils.h +++ b/gsystem-file-utils.h @@ -75,6 +75,12 @@ gboolean gs_file_open_dir_fd (GFile *path, GCancellable *cancellable, GError **error); +gboolean gs_file_open_dir_fd_at (int parent_dfd, + const char *name, + int *out_fd, + GCancellable *cancellable, + GError **error); + gboolean gs_file_open_in_tmpdir_at (int tmpdir_fd, int mode, char **out_name, |