summaryrefslogtreecommitdiff
path: root/source3/lib/wb_reqtrans.c
AgeCommit message (Collapse)AuthorFilesLines
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