windows-smb-vc-refcount-debugging-20080801
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 1 Aug 2008 14:30:21 +0000 (14:30 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 1 Aug 2008 14:30:21 +0000 (14:30 +0000)
commit1f7ab13b6fffcf236927c7e3173d6e59d1521f4c
tree6c6fb1a15cdbb8a7249ac51e32239412159dea52
parentebf66eff4b0e68e06c26522ae29e33a5b6fb3298
windows-smb-vc-refcount-debugging-20080801

LICENSE MIT

define DEBUG_SMB_REFCOUNT in smb.h to activate refcount debugging
versions of the functions that log the file and line number as
well as object and refcount.  This is for use in debugging refcount
leaks.

rename GetPacket and GetNCB to smb_GetPacket and smb_GetNCB, etc.,
to enforce the name space.  Do not confuse with similar Win32 API
functions.

restructure some code that refers to smb_vc_t references in order
to clarify where the refcount is dropped.
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb.h
src/WINNT/afsd/smb3.c