36 |
|
|
37 |
/* fuse_dirhandle, passed to ops->getdir to store our information */ |
/* fuse_dirhandle, passed to ops->getdir to store our information */ |
38 |
struct fuse_dirhandle { |
struct fuse_dirhandle { |
|
/*** stuff needed for attempt_lookup *********************/ |
|
|
unsigned found :1; |
|
|
|
|
|
/*** things needed for get_dirents ***********************/ |
|
39 |
int first_entry; /* index of first entry to return (counted down |
int first_entry; /* index of first entry to return (counted down |
40 |
* in helper function) */ |
* in helper function) */ |
41 |
int num_entries; /* number of further entries we may write out to the |
int num_entries; /* number of further entries we may write out to the |
46 |
size_t maxlen; /* (allocated) length of filename field, def 256 */ |
size_t maxlen; /* (allocated) length of filename field, def 256 */ |
47 |
struct netnode *parent; /* netnode of the dir which's content we list */ |
struct netnode *parent; /* netnode of the dir which's content we list */ |
48 |
|
|
|
/*** things used here and there **************************/ |
|
49 |
char *abspath; |
char *abspath; |
50 |
char *filename; |
char *filename; |
51 |
}; |
}; |