summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 09:46:59 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:08:42 +0100
commit1bb0104070eb1188ed0256535907f2bed006a939 (patch)
tree03045677e90f6c206e12b4ef8b5d6efcc6df0a16 /source4/libcli
parent24d31c0e81c2332a610bb94acb1227fb9690443a (diff)
downloadsamba-1bb0104070eb1188ed0256535907f2bed006a939.tar.gz
samba-1bb0104070eb1188ed0256535907f2bed006a939.tar.bz2
samba-1bb0104070eb1188ed0256535907f2bed006a939.zip
s4:cldap: s/private/private_data
metze
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/cldap/cldap.c2
-rw-r--r--source4/libcli/cldap/cldap.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/cldap/cldap.c b/source4/libcli/cldap/cldap.c
index d9a6c970b9..8d2e2e374c 100644
--- a/source4/libcli/cldap/cldap.c
+++ b/source4/libcli/cldap/cldap.c
@@ -285,7 +285,7 @@ NTSTATUS cldap_set_incoming_handler(struct cldap_socket *cldap,
void *private_data)
{
cldap->incoming.handler = handler;
- cldap->incoming.private = private_data;
+ cldap->incoming.private_data = private_data;
EVENT_FD_READABLE(cldap->fde);
return NT_STATUS_OK;
}
diff --git a/source4/libcli/cldap/cldap.h b/source4/libcli/cldap/cldap.h
index 1841e82540..8951daa775 100644
--- a/source4/libcli/cldap/cldap.h
+++ b/source4/libcli/cldap/cldap.h
@@ -63,7 +63,7 @@ struct cldap_request {
/* information on what to do on completion */
struct {
void (*fn)(struct cldap_request *);
- void *private;
+ void *private_data;
} async;
};
@@ -88,7 +88,7 @@ struct cldap_socket {
struct {
void (*handler)(struct cldap_socket *, struct ldap_message *,
struct socket_address *);
- void *private;
+ void *private_data;
} incoming;
};