From e01eac68ed93d369c416bbbd16ed1b7d13086462 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 13 May 2005 20:20:02 +0000 Subject: * autoload.cc (WNetGetResourceParentA): Import. (WNetOpenEnumA): Import. (WNetEnumResourceA): Import. (WNetCloseEnum): Import. * fhandler.h (fhandler_netdrive::telldir): Add declaration. (fhandler_netdrive::seekdir): Ditto. (fhandler_netdrive::closedir): Ditto. * fhandler_netdrive.cc: Drop explicit including windows.h. Include winnetwk.h instead of shlwapi.h. Include dirent.h. (fhandler_netdrive::readdir): Implement. (fhandler_netdrive::telldir): New method. (fhandler_netdrive::seekdir): New method. (fhandler_netdrive::closedir): Ditto. --- winsup/cygwin/fhandler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/fhandler.h') diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 375866d54..be7a6c38b 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -1220,6 +1220,9 @@ class fhandler_netdrive: public fhandler_virtual fhandler_netdrive (); int exists(); struct dirent *readdir (DIR *); + _off64_t telldir (DIR *); + void seekdir (DIR *, _off64_t); + int closedir (DIR *); int open (int flags, mode_t mode = 0); int __stdcall fstat (struct __stat64 *buf) __attribute__ ((regparm (2))); }; -- cgit v1.2.3