1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
Simo Sorce
67d41d0fc7 Make struct tevent_req opaque
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-03-02 11:02:09 -05:00
Volker Lendecke
be4913fbe6 Convert rpc_sock_write to use tevent_req base async_send 2009-02-25 13:04:18 +01:00
Volker Lendecke
d1c7bbd893 Convert rpc_sock_read to use tevent_req base async_read 2009-02-25 13:04:18 +01:00
Volker Lendecke
b7bd71b349 Add the socket rpc client transport 2009-01-22 22:59:54 +01:00