| Line | |
|---|
| 1 |
|
|---|
| 2 | struct svfs_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 svfs_file *open_files;
|
|---|
| 15 | };
|
|---|
| 16 |
|
|---|
| 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;
|
|---|
| 24 | };
|
|---|
| 25 |
|
|---|
| 26 | struct svfs_file {
|
|---|
| 27 | struct svfs_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 svfs_dir *dir;
|
|---|
| 38 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.