summaryrefslogtreecommitdiff
path: root/lib/async_req
AgeCommit message (Collapse)AuthorFilesLines
2009-03-08Add "queue" to writev_sendVolker Lendecke2-3/+30
Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
2009-03-02Make struct tevent_req opaqueSimo Sorce1-20/+20
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-28Simplify async_connect_send slightlyVolker Lendecke1-9/+6
2009-02-25Remove async_req based async_sendVolker Lendecke2-240/+0
2009-02-25Remove async_req based async_recvVolker Lendecke2-71/+0
2009-02-24Add more conventional async_recvVolker Lendecke2-0/+72
2009-02-24Add more conventional async_sendVolker Lendecke2-0/+73
2009-02-24Remove unused param_connect structVolker Lendecke1-11/+0
2009-02-24Remove unused recvallVolker Lendecke2-115/+0
2009-02-24Add async read_packetVolker Lendecke2-0/+128
2009-02-24Fix async writevVolker Lendecke1-1/+1
2009-02-24Remove async sendallVolker Lendecke2-116/+0
2009-02-24Add async writevVolker Lendecke2-0/+109
2009-02-24Convert async_connect to tevent_reqVolker Lendecke2-32/+33
2009-02-17async_sock: Use tevent_timeval instead of timeval functionsKai Blin1-3/+4
2009-02-09s3 async: Fix the build on systems that have ETIMEDOUT but not ETIMETim Prouty1-2/+2
Fallback on EAGAIN
2009-02-09async_sock: Map ASYNC_REQ_TIMEOUT to ETIMEDOUT instead of ETIMEKai Blin1-1/+5
Also, fall back to EIO if ETIMEDOUT is not present
2009-02-09async_sock: Use unix errnos instead of NTSTATUSKai Blin2-30/+99
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-02Next step disentangling async_req from NTSTATUSVolker Lendecke4-62/+86
Now I need to document this :-)
2009-02-01Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke6-80/+158
2009-01-28async_sock: Move to top levelKai Blin3-1/+755
2009-01-27async_req: Fix the S4 buildKai Blin2-20/+28
2009-01-23s4: add ../lib/async_req to the s4 buildKai Blin1-0/+3
2009-01-23async_req: Move to top level dirKai Blin2-0/+500