Provide a libsmbclient interface for programs requiring threads
commitdb69ebcbcebbd3882d2eee7df8de15c3dc9c309b
authorDerrell Lipman <derrell@dworkin.(none)>
Mon, 11 May 2009 02:31:37 +0000 (10 22:31 -0400)
committerDerrell Lipman <derrell@dworkin.(none)>
Mon, 11 May 2009 02:45:12 +0000 (10 22:45 -0400)
treecbc34b451731d7682c398fe5c5205162d9adfef1
parent418a2eeae8912d14e32b0119232b897e78221037
Provide a libsmbclient interface for programs requiring threads

- This adds two functions: smbc_thread_posix() which provides access to the
  internal threading implementation using pthread; and smbc_thread_impl()
  where the user provides each of the functions required by Samba, to give
  access to the thread implementation's native capabilities.

Derrell
source3/Makefile.in
source3/include/libsmbclient.h
source3/libsmb/libsmb_thread_impl.c [new file with mode: 0644]
source3/libsmb/libsmb_thread_posix.c [new file with mode: 0644]