From b16681374c6c4d010a74bb2cb914ac226643c634 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 11 Oct 2010 21:21:26 +0200 Subject: libcli/nbt: s/register_wins_state/nbt_name_register_wins_state metze --- libcli/nbt/nameregister.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libcli/nbt') diff --git a/libcli/nbt/nameregister.c b/libcli/nbt/nameregister.c index 51e3c2e0d5..f934172b8b 100644 --- a/libcli/nbt/nameregister.c +++ b/libcli/nbt/nameregister.c @@ -280,7 +280,7 @@ NTSTATUS nbt_name_register_bcast(struct nbt_name_socket *nbtsock, addresses to register. Try each WINS server in turn, until we get a reply for each address */ -struct register_wins_state { +struct nbt_name_register_wins_state { struct nbt_name_socket *nbtsock; struct nbt_name_register *io; const char **wins_servers; @@ -299,12 +299,12 @@ _PUBLIC_ struct composite_context *nbt_name_register_wins_send(struct nbt_name_s struct nbt_name_register_wins *io) { struct composite_context *c; - struct register_wins_state *state; + struct nbt_name_register_wins_state *state; c = talloc_zero(nbtsock, struct composite_context); if (c == NULL) goto failed; - state = talloc(c, struct register_wins_state); + state = talloc(c, struct nbt_name_register_wins_state); if (state == NULL) goto failed; state->io = talloc(state, struct nbt_name_register); @@ -358,8 +358,8 @@ static void name_register_wins_handler(struct nbt_name_request *req) { struct composite_context *c = talloc_get_type(req->async.private_data, struct composite_context); - struct register_wins_state *state = talloc_get_type(c->private_data, - struct register_wins_state); + struct nbt_name_register_wins_state *state = talloc_get_type(c->private_data, + struct nbt_name_register_wins_state); NTSTATUS status; status = nbt_name_register_recv(state->req, state, state->io); @@ -421,8 +421,8 @@ _PUBLIC_ NTSTATUS nbt_name_register_wins_recv(struct composite_context *c, TALLO NTSTATUS status; status = composite_wait(c); if (NT_STATUS_IS_OK(status)) { - struct register_wins_state *state = - talloc_get_type(c->private_data, struct register_wins_state); + struct nbt_name_register_wins_state *state = + talloc_get_type(c->private_data, struct nbt_name_register_wins_state); io->out.wins_server = talloc_steal(mem_ctx, state->wins_servers[0]); io->out.rcode = state->io->out.rcode; } -- cgit