diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 11:07:48 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:09:09 +0100 |
commit | f956dddf57b35408966d58f85864c7274bce15e2 (patch) | |
tree | e5ce54f0c5b058c1ccb2f0cd038ea9a407328534 /libcli | |
parent | 9c387c189ebb925b22a28f74620b8773c6bf8b32 (diff) | |
download | samba-f956dddf57b35408966d58f85864c7274bce15e2.tar.gz samba-f956dddf57b35408966d58f85864c7274bce15e2.tar.xz samba-f956dddf57b35408966d58f85864c7274bce15e2.zip |
libcli/nbt: s/private/private_data
metze
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/nbt/nbtsocket.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libcli/nbt/nbtsocket.c b/libcli/nbt/nbtsocket.c index dac61efc118..a3e295d3df0 100644 --- a/libcli/nbt/nbtsocket.c +++ b/libcli/nbt/nbtsocket.c @@ -115,9 +115,9 @@ failed: handle a request timeout */ static void nbt_name_socket_timeout(struct tevent_context *ev, struct tevent_timer *te, - struct timeval t, void *private) + struct timeval t, void *private_data) { - struct nbt_name_request *req = talloc_get_type(private, + struct nbt_name_request *req = talloc_get_type(private_data, struct nbt_name_request); if (req->num_retries != 0) { @@ -314,9 +314,9 @@ done: handle fd events on a nbt_name_socket */ static void nbt_name_socket_handler(struct tevent_context *ev, struct tevent_fd *fde, - uint16_t flags, void *private) + uint16_t flags, void *private_data) { - struct nbt_name_socket *nbtsock = talloc_get_type(private, + struct nbt_name_socket *nbtsock = talloc_get_type(private_data, struct nbt_name_socket); if (flags & EVENT_FD_WRITE) { nbt_name_socket_send(nbtsock); @@ -508,10 +508,10 @@ NTSTATUS nbt_name_request_recv(struct nbt_name_request *req) _PUBLIC_ NTSTATUS nbt_set_incoming_handler(struct nbt_name_socket *nbtsock, void (*handler)(struct nbt_name_socket *, struct nbt_name_packet *, struct socket_address *), - void *private) + void *private_data) { nbtsock->incoming.handler = handler; - nbtsock->incoming.private_data = private; + nbtsock->incoming.private_data = private_data; EVENT_FD_READABLE(nbtsock->fde); return NT_STATUS_OK; } |