mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
dcad0f6fd4
- the stacking of modules - finding the modules private data - hide the ntvfs details from the calling layer - I set NTVFS_INTERFACE_VERSION 0 till we are closer to release (because we need to solve some async problems with the module stacking) metze (This used to be commit 3ff03b5cb21bb79afdd3b1609be9635f6688a539)
36 lines
562 B
C
36 lines
562 B
C
|
|
struct svfs_private {
|
|
/* the base directory */
|
|
char *connectpath;
|
|
|
|
/* a linked list of open searches */
|
|
struct search_state *search;
|
|
|
|
/* next available search handle */
|
|
uint16_t next_search_handle;
|
|
|
|
struct svfs_file *open_files;
|
|
};
|
|
|
|
struct svfs_dir {
|
|
uint_t count;
|
|
char *unix_dir;
|
|
struct svfs_dirfile {
|
|
char *name;
|
|
struct stat st;
|
|
} *files;
|
|
};
|
|
|
|
struct svfs_file {
|
|
struct svfs_file *next, *prev;
|
|
int fd;
|
|
char *name;
|
|
};
|
|
|
|
struct search_state {
|
|
struct search_state *next, *prev;
|
|
uint16_t handle;
|
|
uint_t current_index;
|
|
struct svfs_dir *dir;
|
|
};
|