Changeset 521 for trunk/client/src/ndpsmb.c
- Timestamp:
- Jan 14, 2011, 12:28:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/src/ndpsmb.c
r519 r521 115 115 {ND_PROP_STRING, 0, "SPASSWORD", ""}, 116 116 {ND_PROP_STRING, 0, "MASTER", "WORKGROUP"}, 117 { ND_PROP_ULONG, 0, "MASTERTYPE", "1"}, 118 { ND_PROP_ULONG, 0, "EASUPPORT", "1"}, 117 {ND_PROP_ULONG, 0, "MASTERTYPE", "1"}, 119 118 {ND_PROP_ULONG, 0, "CTO", "10"}, 120 119 {ND_PROP_ULONG, 0, "CLD", "32"}, 120 {ND_PROP_ULONG, 0, "EASUPPORT", "1"}, 121 121 {ND_PROP_STRING, 0, NULL, NULL} 122 122 }; … … 1675 1675 } 1676 1676 1677 // Called when a new thread will call the plugin. Allows to do per thread init, like disable signals. 1678 #define ND_PL_INIT_THREAD 0xFFFF0000 1679 1677 1680 int APIENTRY NdpIOCTL (int type, HRESOURCE resource, char *path, int function, void *in, ULONG insize, PULONG poutlen) 1678 1681 { 1682 if (function == ND_PL_INIT_THREAD) 1683 { 1684 smbwrp_initthread(); 1685 debuglocal(9, "NdpIOCTL init thread\n"); 1686 return NO_ERROR; 1687 } 1688 1679 1689 debuglocal(9,"NdpIOCTL <%s> %d\n", path, function); 1680 1690 … … 1886 1896 1887 1897 debug_printf("NdpFileSetInfo in [%p]\n", pConn); 1898 1899 // delete the dir cache 1900 dircache_invalidate(pConn->file.fullname, pRes->pdc, 1); 1901 1888 1902 do { 1889 1903 if (pConn->file.fd < 0 || !*pConn->file.fname)
Note:
See TracChangeset
for help on using the changeset viewer.