summaryrefslogtreecommitdiff
path: root/source3/rpc_client/rpc_transport_sock.c
AgeCommit message (Collapse)AuthorFilesLines
2009-05-18Fix broken pipe handlingVolker Lendecke1-2/+2
Metze is right: If we have *any* error at the socket level, we just can not continue. Also, apply some defensive programming: With this async stuff someone else might already have closed the socket.
2009-05-19s3: tevent_req_poll() loops forever when pipe is brokenBo Yang1-1/+20
Signed-off-by: Bo Yang <boyang@samba.org>
2009-03-24Convert rpc_cli_transport->write to tevent_reqVolker Lendecke1-21/+20
2009-03-24Convert rpc_cli_transport->read to tevent_reqVolker Lendecke1-21/+20
2009-03-02Make struct tevent_req opaqueSimo Sorce1-8/+6
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-25Convert rpc_sock_write to use tevent_req base async_sendVolker Lendecke1-7/+46
2009-02-25Convert rpc_sock_read to use tevent_req base async_readVolker Lendecke1-10/+47
2009-01-22Add the socket rpc client transportVolker Lendecke1-0/+116