1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4:libcli/wrepl: s/private/private_data

metze
This commit is contained in:
Stefan Metzmacher 2009-02-02 08:26:33 +01:00
parent 71e318cf31
commit 58ca4d4e31

View File

@ -81,9 +81,9 @@ static void wrepl_request_timeout_handler(struct tevent_context *ev, struct teve
/* /*
handle recv events handle recv events
*/ */
static NTSTATUS wrepl_finish_recv(void *private, DATA_BLOB packet_blob_in) static NTSTATUS wrepl_finish_recv(void *private_data, DATA_BLOB packet_blob_in)
{ {
struct wrepl_socket *wrepl_socket = talloc_get_type(private, struct wrepl_socket); struct wrepl_socket *wrepl_socket = talloc_get_type(private_data, struct wrepl_socket);
struct wrepl_request *req = wrepl_socket->recv_queue; struct wrepl_request *req = wrepl_socket->recv_queue;
DATA_BLOB blob; DATA_BLOB blob;
enum ndr_err_code ndr_err; enum ndr_err_code ndr_err;
@ -123,9 +123,9 @@ static NTSTATUS wrepl_finish_recv(void *private, DATA_BLOB packet_blob_in)
handler for winrepl events handler for winrepl events
*/ */
static void wrepl_handler(struct tevent_context *ev, struct tevent_fd *fde, static void wrepl_handler(struct tevent_context *ev, struct tevent_fd *fde,
uint16_t flags, void *private) uint16_t flags, void *private_data)
{ {
struct wrepl_socket *wrepl_socket = talloc_get_type(private, struct wrepl_socket *wrepl_socket = talloc_get_type(private_data,
struct wrepl_socket); struct wrepl_socket);
if (flags & EVENT_FD_READ) { if (flags & EVENT_FD_READ) {
packet_recv(wrepl_socket->packet); packet_recv(wrepl_socket->packet);
@ -136,9 +136,9 @@ static void wrepl_handler(struct tevent_context *ev, struct tevent_fd *fde,
} }
} }
static void wrepl_error(void *private, NTSTATUS status) static void wrepl_error(void *private_data, NTSTATUS status)
{ {
struct wrepl_socket *wrepl_socket = talloc_get_type(private, struct wrepl_socket *wrepl_socket = talloc_get_type(private_data,
struct wrepl_socket); struct wrepl_socket);
wrepl_socket_dead(wrepl_socket, status); wrepl_socket_dead(wrepl_socket, status);
} }