* fhandler.h (class fhandler_registry): Declare dup method.

* fhandler_registry.cc (fhandler_registry::exists): Fix missing
	parenthesis.
	(fhandler_registry::dup): New method.
This commit is contained in:
Corinna Vinschen
2008-12-15 12:33:27 +00:00
parent 12406f25fb
commit 305b19d738
3 changed files with 34 additions and 8 deletions

View File

@ -1299,6 +1299,7 @@ class fhandler_registry: public fhandler_proc
int __stdcall fstat (struct __stat64 *buf) __attribute__ ((regparm (2)));
bool fill_filebuf ();
int close ();
int dup (fhandler_base *child);
};
class pinfo;