summaryrefslogtreecommitdiff
path: root/libcli/nbt
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-10-11 20:59:35 +0200
committerStefan Metzmacher <metze@samba.org>2010-10-18 15:36:16 +0000
commitc654a6c02bbd7c7a245b2a06e405d88724c12fc7 (patch)
tree1b834a6519db0c00be6857d5b4187f3ce775dbb3 /libcli/nbt
parent77d82fe944fa1f02c150cc2e0967cca654cd4dae (diff)
downloadsamba-c654a6c02bbd7c7a245b2a06e405d88724c12fc7.tar.gz
libcli/nbt: s/register_bcast_state/nbt_name_register_bcast_state/
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 82bc3d2c927..e64bc966069 100644
--- a/libcli/nbt/nameregister.c
+++ b/libcli/nbt/nameregister.c
@@ -150,7 +150,7 @@ _PUBLIC_ NTSTATUS nbt_name_register(struct nbt_name_socket *nbtsock,
a 4 step broadcast registration. 3 lots of name registration requests, followed by
a name registration demand
*/
-struct register_bcast_state {
+struct nbt_name_register_bcast_state {
struct nbt_name_socket *nbtsock;
struct nbt_name_register *io;
struct nbt_name_request *req;
@@ -165,12 +165,12 @@ _PUBLIC_ struct composite_context *nbt_name_register_bcast_send(struct nbt_name_
struct nbt_name_register_bcast *io)
{
struct composite_context *c;
- struct register_bcast_state *state;
+ struct nbt_name_register_bcast_state *state;
c = talloc_zero(nbtsock, struct composite_context);
if (c == NULL) goto failed;
- state = talloc(c, struct register_bcast_state);
+ state = talloc(c, struct nbt_name_register_bcast_state);
if (state == NULL) goto failed;
state->io = talloc(state, struct nbt_name_register);
@@ -214,7 +214,7 @@ failed:
static void name_register_bcast_handler(struct nbt_name_request *req)
{
struct composite_context *c = talloc_get_type(req->async.private_data, struct composite_context);
- struct register_bcast_state *state = talloc_get_type(c->private_data, struct register_bcast_state);
+ struct nbt_name_register_bcast_state *state = talloc_get_type(c->private_data, struct nbt_name_register_bcast_state);
NTSTATUS status;
status = nbt_name_register_recv(state->req, state, state->io);