git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
77d82fe
)
libcli/nbt: s/register_bcast_state/nbt_name_register_bcast_state/
author
Stefan Metzmacher
<metze@samba.org>
Mon, 11 Oct 2010 18:59:35 +0000
(20:59 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 18 Oct 2010 15:36:16 +0000
(15:36 +0000)
metze
libcli/nbt/nameregister.c
patch
|
blob
|
history
diff --git
a/libcli/nbt/nameregister.c
b/libcli/nbt/nameregister.c
index 82bc3d2c9272a25a688899fc2363b9a52a72a06e..e64bc9660690b636e2e33e61cfef28d73ce24d6d 100644
(file)
--- 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
*/
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;
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 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;
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);
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);
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);
NTSTATUS status;
status = nbt_name_register_recv(state->req, state, state->io);