s3: Add cli_smb()
authorVolker Lendecke <vl@samba.org>
Sun, 7 Feb 2010 12:24:41 +0000 (13:24 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 20 Feb 2010 17:59:29 +0000 (18:59 +0100)
commit89e6a5263e29759c4edd1a8e856443f59dff0c31
tree84d28e739df6f65bab419f8f99c7ff3cf579b7cd
parenta7036a9e47382e738f6ebedf13719222950611d6
s3: Add cli_smb()

This is a sync wrapper around cli_smb_send/cli_smb_recv. This is a hack to
speed up converting libsmb/ away from cli_send_smb/cli_receive_smb. Some
routines in libsmb/ are only called in one place in smbtorture for example,
where making it async right now is not worth it. With cli_smb_send/cli_smb_recv
in place, pushing the asynchronosity out one level is "just" boilerplate code
that is easy to do should it become necessary.
source3/include/proto.h
source3/libsmb/clientgen.c