00001 00002 /* Structure with global file system state. */ 00003 struct state { 00004 int mounted; /* is the file system mounted? */ 00005 int read_only; /* is the file system mounted read-only? note, 00006 * has no relation to the shared folder mode */ 00007 dev_t dev; /* device the file system is mounted on */ 00008 }; 00009 00010 /* Structure with options affecting global behavior. */ 00011 struct opt { 00012 char prefix[PATH_MAX]; /* prefix for all paths used */ 00013 uid_t uid; /* UID that owns all files */ 00014 gid_t gid; /* GID that owns all files */ 00015 unsigned int file_mask; /* AND-mask to apply to file permissions */ 00016 unsigned int dir_mask; /* AND-mask to apply to directory perm's */ 00017 int case_insens; /* case insensitivity flag; has no relation 00018 * to the hosts's shared folder naming */ 00019 };
1.5.8