summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-05-13 20:20:02 +0000
committerCorinna Vinschen <corinna@vinschen.de>2005-05-13 20:20:02 +0000
commite01eac68ed93d369c416bbbd16ed1b7d13086462 (patch)
treea04fc4c14020af223672ebfa01865fdfaf0fe961 /winsup/cygwin/fhandler.h
parent063f1df2aa2689d45fd7fd7bd8445031338ec9cb (diff)
downloadcygnal-e01eac68ed93d369c416bbbd16ed1b7d13086462.tar.gz
cygnal-e01eac68ed93d369c416bbbd16ed1b7d13086462.tar.bz2
cygnal-e01eac68ed93d369c416bbbd16ed1b7d13086462.zip
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h3
1 files changed, 3 insertions, 0 deletions
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)));
};