1.1 --- a/libfsserver/include/fsserver/ext2_file_operations.h Tue Feb 08 00:03:32 2022 +0100
1.2 +++ b/libfsserver/include/fsserver/ext2_file_operations.h Wed Feb 09 22:30:29 2022 +0100
1.3 @@ -57,10 +57,16 @@
1.4 {
1.5 }
1.6
1.7 + /* Access and object type tests. */
1.8 +
1.9 + bool can_access(user_t user, flags_t flags, ext2_ino_t ino);
1.10 +
1.11 bool is_directory(ext2_ino_t ino_file);
1.12
1.13 bool is_file(ext2_ino_t ino_file);
1.14
1.15 + /* File manipulation. */
1.16 +
1.17 void close_file(ext2_file_t file);
1.18
1.19 long create_file(ext2_ino_t ino_parent, const char *filename, user_t user,