summaryrefslogtreecommitdiff
path: root/source4/libcli/nbt/libnbt.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-23 09:02:16 +0200
committerGünther Deschner <gd@samba.org>2008-09-23 09:37:24 +0200
commit13a3971438fb12d60aa0eaf88d22019a5e4f67cd (patch)
treea5682223bfce97e5815a3f383cb7d3c088b96195 /source4/libcli/nbt/libnbt.h
parentc48186f507219e8732f02bdc2f835a7d8d02541c (diff)
downloadsamba-13a3971438fb12d60aa0eaf88d22019a5e4f67cd.tar.gz
samba-13a3971438fb12d60aa0eaf88d22019a5e4f67cd.tar.bz2
samba-13a3971438fb12d60aa0eaf88d22019a5e4f67cd.zip
s4-nbt: use private_data instead of private.
Guenther
Diffstat (limited to 'source4/libcli/nbt/libnbt.h')
-rw-r--r--source4/libcli/nbt/libnbt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/nbt/libnbt.h b/source4/libcli/nbt/libnbt.h
index 0b01365510..ff4fe65ac8 100644
--- a/source4/libcli/nbt/libnbt.h
+++ b/source4/libcli/nbt/libnbt.h
@@ -83,7 +83,7 @@ struct nbt_name_request {
/* information on what to do on completion */
struct {
void (*fn)(struct nbt_name_request *);
- void *private;
+ void *private_data;
} async;
};
@@ -113,14 +113,14 @@ struct nbt_name_socket {
struct {
void (*handler)(struct nbt_name_socket *, struct nbt_name_packet *,
struct socket_address *);
- void *private;
+ void *private_data;
} incoming;
/* what to do with unexpected replies */
struct {
void (*handler)(struct nbt_name_socket *, struct nbt_name_packet *,
struct socket_address *);
- void *private;
+ void *private_data;
} unexpected;
};
@@ -323,7 +323,7 @@ NTSTATUS nbt_name_refresh_recv(struct nbt_name_request *req,
NTSTATUS nbt_set_incoming_handler(struct nbt_name_socket *nbtsock,
void (*handler)(struct nbt_name_socket *, struct nbt_name_packet *,
struct socket_address *),
- void *private);
+ void *private_data);
NTSTATUS nbt_name_reply_send(struct nbt_name_socket *nbtsock,
struct socket_address *dest,
struct nbt_name_packet *request);