diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-07-19 12:26:09 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-07-19 12:26:09 +0000 |
commit | 5a3ed0261050c0b39dafb104541aad6e385d00af (patch) | |
tree | 710b2d007167308f5da17e66e744e6f4968e4d24 /winsup/cygwin/autoload.cc | |
parent | b47d83c6456eba31f9fe59fa06262cc522e5cabf (diff) | |
download | cygnal-5a3ed0261050c0b39dafb104541aad6e385d00af.tar.gz cygnal-5a3ed0261050c0b39dafb104541aad6e385d00af.tar.bz2 cygnal-5a3ed0261050c0b39dafb104541aad6e385d00af.zip |
* autoload.cc (WNetGetProviderNameA): Define.
(WNetGetResourceParentA): Remove.
* fhandler_netdrive.cc (struct net_hdls): New structure to keep
WNet handles. Stored in dir->__handle throughout.
(thread_netdrive): Rewrite to enumerate all servers in all accessible
domains and workgroups.
(fhandler_netdrive::readdir): Simplify toplevel code. Lowercase all
server names in toplevel.
(fhandler_netdrive::rewinddir): Close all WNet handles and free
net_hdls structure.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index ac1bf7104..f1a4abd0c 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -438,8 +438,8 @@ LoadDLLfuncEx (waveInStart, 4, winmm, 1) LoadDLLfuncEx (waveInReset, 4, winmm, 1) LoadDLLfuncEx (waveInClose, 4, winmm, 1) +LoadDLLfunc (WNetGetProviderNameA, 12, mpr) LoadDLLfunc (WNetGetResourceInformationA, 16, mpr) -LoadDLLfunc (WNetGetResourceParentA, 12, mpr) LoadDLLfunc (WNetOpenEnumA, 20, mpr) LoadDLLfunc (WNetEnumResourceA, 16, mpr) LoadDLLfunc (WNetCloseEnum, 4, mpr) |