From 332f261bbf5a3179cbab6cb7aa8b490d0072b7af Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 11 Oct 2010 08:33:06 +0200 Subject: libcli/nbt: s/name_refresh_wins_handler/nbt_name_refresh_wins_handler metze --- libcli/nbt/namerefresh.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libcli/nbt/namerefresh.c b/libcli/nbt/namerefresh.c index f6221dd602..65a891353e 100644 --- a/libcli/nbt/namerefresh.c +++ b/libcli/nbt/namerefresh.c @@ -152,7 +152,7 @@ struct nbt_name_refresh_wins_state { struct nbt_name_request *req; }; -static void name_refresh_wins_handler(struct nbt_name_request *req); +static void nbt_name_refresh_wins_handler(struct nbt_name_request *req); /** the async send call for a multi-server WINS refresh @@ -197,7 +197,7 @@ _PUBLIC_ struct composite_context *nbt_name_refresh_wins_send(struct nbt_name_so state->req = nbt_name_refresh_send(nbtsock, state->io); if (state->req == NULL) goto failed; - state->req->async.fn = name_refresh_wins_handler; + state->req->async.fn = nbt_name_refresh_wins_handler; state->req->async.private_data = c; c->private_data = state; @@ -215,7 +215,7 @@ failed: /** state handler for WINS multi-homed multi-server name refresh */ -static void name_refresh_wins_handler(struct nbt_name_request *req) +static void nbt_name_refresh_wins_handler(struct nbt_name_request *req) { struct composite_context *c = talloc_get_type(req->async.private_data, struct composite_context); @@ -241,7 +241,7 @@ static void name_refresh_wins_handler(struct nbt_name_request *req) c->state = COMPOSITE_STATE_ERROR; c->status = NT_STATUS_NO_MEMORY; } else { - state->req->async.fn = name_refresh_wins_handler; + state->req->async.fn = nbt_name_refresh_wins_handler; state->req->async.private_data = c; } } else if (!NT_STATUS_IS_OK(status)) { @@ -257,7 +257,7 @@ static void name_refresh_wins_handler(struct nbt_name_request *req) c->state = COMPOSITE_STATE_ERROR; c->status = NT_STATUS_NO_MEMORY; } else { - state->req->async.fn = name_refresh_wins_handler; + state->req->async.fn = nbt_name_refresh_wins_handler; state->req->async.private_data = c; } } else { -- cgit