summaryrefslogtreecommitdiff
path: root/document-portal/document-portal.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-02-28 09:16:31 +0100
committerAlexander Larsson <alexl@redhat.com>2020-03-05 13:48:25 +0100
commit516e171bb0489e1803894d4ec1a422002bf9972d (patch)
treeba36bbbfa569135c8c292cb5af80ddc3acebc8cc /document-portal/document-portal.h
parent25d5d930f90521e371c923a2bce261960c229a9f (diff)
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.
Diffstat (limited to 'document-portal/document-portal.h')
-rw-r--r--document-portal/document-portal.h1
1 files changed, 1 insertions, 0 deletions
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,