~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to source4/ntvfs/cifs_posix_cli/cifsposix.h

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
struct 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
 
 
17
struct 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
 
 
26
struct cifspsx_file {
 
27
        struct cifspsx_file *next, *prev;
 
28
        int fd;
 
29
        struct ntvfs_handle *handle;
 
30
        char *name;
 
31
};
 
32
 
 
33
struct search_state {
 
34
        struct search_state *next, *prev;
 
35
        uint16_t handle;
 
36
        unsigned int current_index;
 
37
        struct cifspsx_dir *dir;
 
38
};