tevent: preferr the write handler if there're two possible handlers registered with...
[Samba/gebeck_regimport.git] / source4 / ntvfs / simple / svfs.h
blobe5ad3b95d9526c84a24b935f0ca434d958e7de15
2 struct svfs_private {
3 struct ntvfs_module_context *ntvfs;
5 /* the base directory */
6 char *connectpath;
8 /* a linked list of open searches */
9 struct search_state *search;
11 /* next available search handle */
12 uint16_t next_search_handle;
14 struct svfs_file *open_files;
17 struct svfs_dir {
18 unsigned int count;
19 char *unix_dir;
20 struct svfs_dirfile {
21 char *name;
22 struct stat st;
23 } *files;
26 struct svfs_file {
27 struct svfs_file *next, *prev;
28 int fd;
29 struct ntvfs_handle *handle;
30 char *name;
33 struct search_state {
34 struct search_state *next, *prev;
35 uint16_t handle;
36 unsigned int current_index;
37 struct svfs_dir *dir;