summaryrefslogtreecommitdiff
path: root/source3/include/smbldap.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-27 16:19:07 +0200
committerGünther Deschner <gd@samba.org>2011-10-28 11:35:28 +0200
commit0b6ced62096cf31142b329056c0d0066d04b344c (patch)
treec09ce5ca652c97210d82f3f13b9cb7d1bc68aa4d /source3/include/smbldap.h
parent7d7ba3ba40895090d9bd791f210f89c5d5d2582e (diff)
downloadsamba-0b6ced62096cf31142b329056c0d0066d04b344c.tar.gz
samba-0b6ced62096cf31142b329056c0d0066d04b344c.tar.bz2
samba-0b6ced62096cf31142b329056c0d0066d04b344c.zip
s3-smbldap: use tevent_context in smbldap.
Guenther
Diffstat (limited to 'source3/include/smbldap.h')
-rw-r--r--source3/include/smbldap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index cce3e1eae9..9a81c30cb1 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -131,7 +131,7 @@ extern ATTRIB_MAP_ENTRY trustpw_attr_list[];
have to worry about LDAP structure types */
NTSTATUS smbldap_init(TALLOC_CTX *mem_ctx,
- struct event_context *event_ctx,
+ struct tevent_context *tevent_ctx,
const char *location,
struct smbldap_state **smbldap_state);
@@ -174,7 +174,7 @@ struct smbldap_state {
unsigned int num_failures;
time_t last_use; /* monotonic */
- struct event_context *event_context;
+ struct tevent_context *tevent_context;
struct timed_event *idle_event;
struct timeval last_rebind; /* monotonic */
@@ -239,7 +239,7 @@ int smbldap_search_suffix (struct smbldap_state *ldap_state,
const char *filter, const char **search_attr,
LDAPMessage ** result);
void smbldap_free_struct(struct smbldap_state **ldap_state) ;
-NTSTATUS smbldap_init(TALLOC_CTX *mem_ctx, struct event_context *event_ctx,
+NTSTATUS smbldap_init(TALLOC_CTX *mem_ctx, struct tevent_context *tevent_ctx,
const char *location,
struct smbldap_state **smbldap_state);
bool smbldap_has_control(LDAP *ld, const char *control);