1 /* 2 FUSE: Filesystem in Userspace 3 Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu> 4 5 This program can be distributed under the terms of the GNU LGPLv2. 6 See the file COPYING.LIB 7 */ 8 #ifndef USERLAND_FS_FUSE_CONFIG_H 9 #define USERLAND_FS_FUSE_CONFIG_H 10 11 #include "fuse_api.h" 12 13 14 struct fuse_config { 15 unsigned int uid; 16 unsigned int gid; 17 unsigned int umask; 18 double entry_timeout; 19 double negative_timeout; 20 double attr_timeout; 21 double ac_attr_timeout; 22 int ac_attr_timeout_set; 23 int debug; 24 int hard_remove; 25 int use_ino; 26 int readdir_ino; 27 int set_mode; 28 int set_uid; 29 int set_gid; 30 int direct_io; 31 int kernel_cache; 32 int auto_cache; 33 int intr; 34 int intr_signal; 35 int help; 36 char *modules; 37 }; 38 39 40 #ifdef __cplusplus 41 extern "C" { 42 #endif 43 44 int fuse_parse_lib_config_args(struct fuse_args* args, 45 struct fuse_config* config); 46 47 int fuse_parse_mount_config_args(struct fuse_args* args); 48 49 #ifdef __cplusplus 50 } 51 #endif 52 53 54 #endif // USERLAND_FS_FUSE_CONFIG_H 55