* fhandler.h (fhandler_proc::opendir): Declare.
(fhandler_proc::closedir): Declare. * fhandler_proc.cc (fhandler_proc::opendir): New method. Fetch list of active processes here once to avoid potential duplicates. (fhandler_proc::closedir): New method.
This commit is contained in:
@ -1440,6 +1440,8 @@ class fhandler_proc: public fhandler_virtual
|
||||
public:
|
||||
fhandler_proc ();
|
||||
virtual_ftype_t exists();
|
||||
DIR *opendir (int fd) __attribute__ ((regparm (2)));
|
||||
int closedir (DIR *);
|
||||
int readdir (DIR *, dirent *) __attribute__ ((regparm (3)));
|
||||
static fh_devices get_proc_fhandler (const char *path);
|
||||
|
||||
|
Reference in New Issue
Block a user