Changeset 520 for branches/client-2.0/src/ndpsmb.c
- Timestamp:
- Jan 14, 2011, 11:58:49 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-2.0/src/ndpsmb.c
r518 r520 212 212 {ND_PROP_STRING, 0, "MASTER", "WORKGROUP"}, 213 213 {ND_PROP_ULONG, 0, "MASTERTYPE", "1"}, 214 {ND_PROP_ULONG, 0, "EASUPPORT", "1"},215 214 {ND_PROP_ULONG, 0, "CTO", "10"}, 216 215 {ND_PROP_ULONG, 0, "CLD", "32"}, 216 {ND_PROP_ULONG, 0, "EASUPPORT", "1"}, 217 217 {ND_PROP_STRING, 0, NULL, NULL} 218 218 }; … … 1775 1775 } 1776 1776 1777 // Called when a new thread will call the plugin. Allows to do per thread init, like disable signals. 1778 #define ND_PL_INIT_THREAD 0xFFFF0000 1779 1777 1780 int APIENTRY NdpIOCTL (int type, HRESOURCE resource, char *path, int function, void *in, ULONG insize, PULONG poutlen) 1778 1781 { 1782 if (function == ND_PL_INIT_THREAD) 1783 { 1784 smbwrp_initthread(); 1785 debuglocal(9, "NdpIOCTL init thread\n"); 1786 return NO_ERROR; 1787 } 1788 1779 1789 debuglocal(9,"NdpIOCTL <%s> %d\n", path, function); 1780 1790 … … 1986 1996 1987 1997 debug_printf("NdpFileSetInfo in [%p]\n", pConn); 1998 1999 // delete the dir cache 2000 dircache_invalidate(pConn->file.fullname, pRes->pdc, 1); 2001 1988 2002 do { 1989 2003 if (pConn->file.fd < 0 || !*pConn->file.fname)
Note:
See TracChangeset
for help on using the changeset viewer.