From 516e171bb0489e1803894d4ec1a422002bf9972d Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 28 Feb 2020 09:16:31 +0100 Subject: document-portal: Support new DOCUMENT_ADD_FLAGS_DIRECTORY in AddFull For directoy entries the DOCUMENT_ENTRY_FLAG_DIRECTORY flag is set in the document store for the entry. Also, in the directory case we store the device/inode of the directory itself, not the parent. --- document-portal/document-portal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'document-portal/document-portal.h') diff --git a/document-portal/document-portal.h b/document-portal/document-portal.h index 26159a5..079cb37 100644 --- a/document-portal/document-portal.h +++ b/document-portal/document-portal.h @@ -25,6 +25,7 @@ gboolean validate_fd (int fd, XdpAppInfo *app_info, + gboolean is_directory, struct stat *st_buf, struct stat *real_parent_st_buf, char **path_out, -- cgit v1.2.3