summaryrefslogtreecommitdiff
path: root/source3/lib/wb_reqtrans.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-19wb_reqtrans is not used in libwbclientVolker Lendecke1-0/+446
2009-05-30libwbclient: Add async call framework.Kai Blin1-433/+0
2009-05-29s3 async wbclient: Change license to LGPLv3+Volker Lendecke1-8/+12
2009-05-24Do queueing in wbclient.cVolker Lendecke1-29/+0
The _trigger fn must know about wbc_context, while we were waiting in the queue the fd might have changed
2009-05-24Fix closed_fd(): select returning 0 means no fd listeningVolker Lendecke1-4/+7
2009-05-24Fix wb_simple_trans queueingVolker Lendecke1-16/+3
2009-05-24Add "err_on_readability" to writev_sendVolker Lendecke1-2/+2
A socket where the other side has closed only becomes readable. To catch errors early when sitting in a pure writev, we need to also test for readability.
2009-05-12Clean up assignments to iov_base, ensure it's always cast to void *. This ↵Jeremy Allison1-4/+4
should quieten some warnings with picky compilers on the buildfarm. Jeremy.
2009-05-09Add wb_simple_trans_send/recvVolker Lendecke1-1/+130
2009-05-07Convert lib/wb_reqtrans.c to unix calling conventionsVolker Lendecke1-83/+46
2009-05-07Adapt wb_reqtrans to "recent" coding conventionsVolker Lendecke1-44/+28
2009-03-16Remove unused async_req references from wb_reqtrans.cVolker Lendecke1-37/+0
2009-03-15Add queue argument to wb_resp_writeVolker Lendecke1-2/+3
2009-03-08Move "struct req_read_state" where it belongsVolker Lendecke1-5/+5
2009-03-08Convert wb_resp_write to tevent_reqVolker Lendecke1-13/+12
2009-03-08Convert wb_resp_read to tevent_reqVolker Lendecke1-16/+15
2009-03-08Convert wb_req_read to tevent_reqVolker Lendecke1-17/+16
2009-03-08Convert wb_req_write to tevent_reqVolker Lendecke1-14/+14
2009-03-08Add tevent_req wbc helpersVolker Lendecke1-0/+37
2009-03-08Add "queue" to writev_sendVolker Lendecke1-2/+2
Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
2009-03-02Attempt to fix the buildVolker Lendecke1-2/+2
Simo, with which compiler did you build this? I'd be curious to learn about the compiler settings that make this build. Thanks, Volker
2009-03-02Make struct tevent_req opaqueSimo Sorce1-16/+12
Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future.
2009-02-28Fix async reading winbindd_responseVolker Lendecke1-1/+1
2009-02-24Use read_packet for wb_resp_readVolker Lendecke1-90/+29
2009-02-24Use read_packet for wb_req_readVolker Lendecke1-92/+36
2009-02-24Use async writev for wb_resp_writeVolker Lendecke1-53/+23
2009-02-24Use async writev in wb_req_writeVolker Lendecke1-52/+22
2009-02-09async_sock: Use unix errnos instead of NTSTATUSKai Blin1-60/+121
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later.
2009-02-02s3-wbclient: Use new tevent data typesKai Blin1-8/+8
2009-02-02Next step disentangling async_req from NTSTATUSVolker Lendecke1-8/+8
Now I need to document this :-)
2009-02-01Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke1-25/+25
2009-01-18Add a macro async_req_setup()Volker Lendecke1-36/+8
This streamlines setting up a multi-step async request a bit
2009-01-04Remove wb_trans_send/recvVolker Lendecke1-143/+0
2009-01-04Move winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.cVolker Lendecke1-0/+685