1 2struct cifspsx_private { 3 struct ntvfs_module_context *ntvfs; 4 5 /* the base directory */ 6 char *connectpath; 7 8 /* a linked list of open searches */ 9 struct search_state *search; 10 11 /* next available search handle */ 12 uint16_t next_search_handle; 13 14 struct cifspsx_file *open_files; 15}; 16 17struct cifspsx_dir { 18 unsigned int count; 19 char *unix_dir; 20 struct cifspsx_dirfile { 21 char *name; 22 struct stat st; 23 } *files; 24}; 25 26struct cifspsx_file { 27 struct cifspsx_file *next, *prev; 28 int fd; 29 struct ntvfs_handle *handle; 30 char *name; 31}; 32 33struct search_state { 34 struct search_state *next, *prev; 35 uint16_t handle; 36 unsigned int current_index; 37 struct cifspsx_dir *dir; 38}; 39