Ignore:
Timestamp:
Jan 14, 2011, 11:58:49 AM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Client 2.0: another bunch of updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/client-2.0/src/ndpsmb.c

    r518 r520  
    212212        {ND_PROP_STRING, 0, "MASTER", "WORKGROUP"},
    213213        {ND_PROP_ULONG, 0, "MASTERTYPE", "1"},
    214         {ND_PROP_ULONG, 0, "EASUPPORT", "1"},
    215214        {ND_PROP_ULONG, 0, "CTO", "10"},
    216215        {ND_PROP_ULONG, 0, "CLD", "32"},
     216        {ND_PROP_ULONG, 0, "EASUPPORT", "1"},
    217217        {ND_PROP_STRING, 0, NULL, NULL}
    218218};
     
    17751775}
    17761776
     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
    17771780int APIENTRY NdpIOCTL (int type, HRESOURCE resource, char *path, int function, void *in, ULONG insize, PULONG poutlen)
    17781781{
     1782    if (function == ND_PL_INIT_THREAD)
     1783       {
     1784          smbwrp_initthread();
     1785          debuglocal(9, "NdpIOCTL init thread\n");
     1786          return NO_ERROR;
     1787       }
     1788
    17791789    debuglocal(9,"NdpIOCTL <%s> %d\n", path, function);
    17801790
     
    19861996
    19871997        debug_printf("NdpFileSetInfo in [%p]\n", pConn);
     1998
     1999        // delete the dir cache
     2000        dircache_invalidate(pConn->file.fullname, pRes->pdc, 1);
     2001
    19882002        do {
    19892003                if (pConn->file.fd < 0 || !*pConn->file.fname)
Note: See TracChangeset for help on using the changeset viewer.