1 /* 2 * Copyright (c) 2018 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_LIB_POSIX_OPTIONS_FS_PRIV_H_ 8 #define ZEPHYR_LIB_POSIX_OPTIONS_FS_PRIV_H_ 9 10 #include <stdbool.h> 11 12 #include <zephyr/fs/fs.h> 13 14 struct posix_fs_desc { 15 union { 16 struct fs_file_t file; 17 struct fs_dir_t dir; 18 }; 19 bool is_dir: 1; 20 bool used: 1; 21 }; 22 23 #endif 24