summaryrefslogtreecommitdiff
path: root/source3/include/async_smb.h
AgeCommit message (Collapse)AuthorFilesLines
2011-10-25s3:libsmb: s/event_context/tevent_context/ in async_smb.[ch]Stefan Metzmacher1-2/+2
metze
2011-08-28s3:libsmb: make cli_session_request_send/recv() staticStefan Metzmacher1-7/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Aug 28 20:29:01 CEST 2011 on sn-devel-104
2011-08-28s3:libsmb: move cli_smb_oplock_break_waiter*() to clioplock.cStefan Metzmacher1-7/+0
metze
2011-07-13s3:libsmb: remove unused cli_smb_inbuf()Stefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 01:19:51 CEST 2011 on sn-devel-104
2011-07-08s3:libsmb: don't use the cli->inbuf to store the last errorStefan Metzmacher1-12/+0
We keep the raw error in cli->raw_status now, until we fixed all caller to get the NTSTATUS from the function calls. metze
2011-06-10s3:libsmb/async_smb: add helpers to get and set the seqnum for signingStefan Metzmacher1-0/+2
This will be used for correct signing in [nt]trans[2][s] requests. metze
2011-05-06s3-includes: finally only include client.h when libsmb is used.Günther Deschner1-1/+1
Guenther
2010-12-22s3: Add async cli_session_requestVolker Lendecke1-0/+7
This does not do the redirects, but I think that might be obsolete anyway
2010-02-22s3: Add a talloc_move for the inbuf to cli_smb_recvVolker Lendecke1-2/+3
2009-12-22s3: Move smb_splice_chain to smbd/process.c, its only userVolker Lendecke1-5/+0
2009-05-13s3:libsmb: let cli_smb_chain_send() also return NTSTATUSStefan Metzmacher1-1/+1
metze
2009-05-13s3: return proper error code in cli_smb_req_sendBo Yang1-1/+1
Signed-off-by: Bo Yang <boyang@samba.org>
2009-04-06Add async oplock waiterVolker Lendecke1-0/+7
2009-04-06Remove async_req based async libsmb infrastructureVolker Lendecke1-112/+0
2009-04-06Add new async libsmb infrastructureVolker Lendecke1-0/+27
I know this is just yet another iteration, but I like this one much better than the one that exists right now :-) It will do trans and echo requests without a _recv helper and without unnecessary memcpy().
2009-03-23s3:libsmb: use new simplified smb_signing code for the client sideStefan Metzmacher1-0/+2
We store the seqnum/mid mapping in the cli_request structure for async requests and in the cli_state structure for sync calls. We skip the signing check for oplock requests while waiting for async requests coming in. metze
2008-12-19Add the cli_wct_ofs routine to calculate the offset for write&xVolker Lendecke1-0/+2
2008-12-19Convert cli_request->outbuf to uint8_tVolker Lendecke1-2/+2
2008-12-19For large smbwrite&x, we need more than 64k bccVolker Lendecke1-2/+2
2008-12-19Pass "bytes_alignment" up through cli_request_sendVolker Lendecke1-0/+1
This parameter makes smb_spice_chain add padding before the bytes field
2008-12-08Add a "bytes_padding" parameter to smb_splice_chainVolker Lendecke1-0/+1
For example open&x and write&x needs the bytes to be aligned relative to the SMB header. In particular for write&x we should not have to move stuff around.
2008-12-08Factor out smb_splice_chain(), to be used by chain_reply() in smbdVolker Lendecke1-0/+3
2008-09-09Add utility function cli_in_chain()Volker Lendecke1-0/+1
This gives a hint whether a function is called from within the middle of a chain. In particular the trans calls don't really like this. (This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)
2008-08-28Remove cli_request_get()Volker Lendecke1-6/+0
req->private_data==NULL at this point is definitely a bug. (This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e)
2008-08-28Add async smbecho client supportVolker Lendecke1-0/+4
(This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
2008-08-28Add cli_request->recv_helperVolker Lendecke1-0/+12
Necessary for requests with multiple replies (This used to be commit cb2e338eb33dfb4627f9b43456af0c86d7d268c6)
2008-08-28Activate code to enable chained requestsVolker Lendecke1-2/+19
Add the CHAIN1 torture test (This used to be commit 82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)
2008-08-28Move "struct cli_request" from client.h to async_smb.hVolker Lendecke1-0/+63
Also add some comments (This used to be commit 2ecc311f785317caf5b60051147dcd085c80d64f)
2008-08-28Add cli_pull_replyVolker Lendecke1-0/+4
Along the lines of cli_request_send this abstracts away the smb-level buffer handling when parsing replies we got from the server. (This used to be commit 253134d3aaa359fdfb665709dd5686f69af7f8fd)
2008-08-28Remove cli->event_ctx, pass it explicitlyVolker Lendecke1-15/+3
Storing the event_context as permanent state in struct cli_state creates more complex code than necessary IMO. (This used to be commit debb37f703075008e5ea7d34d214cfa4d0f8f916)
2008-08-28Refactoring: Add the routine cli_request_send()Volker Lendecke1-6/+6
cli_request_send() is supposed to bundle all generic SMB-header handling. This makes cli_request_new static to async_smb.c. (This used to be commit 7e73dd4e7622db64d30d48ba106892e0895fc188)
2008-03-06Add infrastructure to support async SMB requestsVolker Lendecke1-0/+62
(This used to be commit e2153301351559f30f2714345f4c1ca6c5f1a45f)