summaryrefslogtreecommitdiff
path: root/libcli/nbt
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-10-11 21:01:23 +0200
committerStefan Metzmacher <metze@samba.org>2010-10-18 15:36:16 +0000
commit0b8056d580e2d2475b208c73ffb698b0bcd487eb (patch)
tree431bbb590fdb0c387bf8bd3f2028d308ffab7139 /libcli/nbt
parentc654a6c02bbd7c7a245b2a06e405d88724c12fc7 (diff)
downloadsamba-0b8056d580e2d2475b208c73ffb698b0bcd487eb.tar.gz
samba-0b8056d580e2d2475b208c73ffb698b0bcd487eb.tar.bz2
samba-0b8056d580e2d2475b208c73ffb698b0bcd487eb.zip
libcli/nbt: s/name_register_bcast_handler/nbt_name_register_bcast_handler
metze
Diffstat (limited to 'libcli/nbt')
-rw-r--r--libcli/nbt/nameregister.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcli/nbt/nameregister.c b/libcli/nbt/nameregister.c
index e64bc96606..d0a652d751 100644
--- a/libcli/nbt/nameregister.c
+++ b/libcli/nbt/nameregister.c
@@ -156,7 +156,7 @@ struct nbt_name_register_bcast_state {
struct nbt_name_request *req;
};
-static void name_register_bcast_handler(struct nbt_name_request *req);
+static void nbt_name_register_bcast_handler(struct nbt_name_request *req);
/*
the async send call for a 4 stage name registration
@@ -193,7 +193,7 @@ _PUBLIC_ struct composite_context *nbt_name_register_bcast_send(struct nbt_name_
state->req = nbt_name_register_send(nbtsock, state->io);
if (state->req == NULL) goto failed;
- state->req->async.fn = name_register_bcast_handler;
+ state->req->async.fn = nbt_name_register_bcast_handler;
state->req->async.private_data = c;
c->private_data = state;
@@ -211,7 +211,7 @@ failed:
/*
state handler for 4 stage name registration
*/
-static void name_register_bcast_handler(struct nbt_name_request *req)
+static void nbt_name_register_bcast_handler(struct nbt_name_request *req)
{
struct composite_context *c = talloc_get_type(req->async.private_data, struct composite_context);
struct nbt_name_register_bcast_state *state = talloc_get_type(c->private_data, struct nbt_name_register_bcast_state);
@@ -234,7 +234,7 @@ static void name_register_bcast_handler(struct nbt_name_request *req)
c->state = COMPOSITE_STATE_ERROR;
c->status = NT_STATUS_NO_MEMORY;
} else {
- state->req->async.fn = name_register_bcast_handler;
+ state->req->async.fn = nbt_name_register_bcast_handler;
state->req->async.private_data = c;
}
} else if (!NT_STATUS_IS_OK(status)) {