s4:lib/tevent: rename structs
[sfrench/samba-autobuild/.git] / source4 / libcli / cldap / cldap.h
index c78e395faaa291f38d715ca41b0728c5842cf6a9..17e88716c5120e4c0cdf5346b17e9e816cdd3bef 100644 (file)
@@ -52,7 +52,7 @@ struct cldap_request {
        /* the ldap message_id */
        int message_id;
 
-       struct timed_event *te;
+       struct tevent_timer *te;
 
        /* the encoded request */
        DATA_BLOB encoded;
@@ -72,11 +72,11 @@ struct cldap_request {
 */
 struct cldap_socket {
        struct socket_context *sock;
-       struct event_context *event_ctx;
+       struct tevent_context *event_ctx;
        struct smb_iconv_convenience *iconv_convenience;
 
        /* the fd event */
-       struct fd_event *fde;
+       struct tevent_fd *fde;
 
        /* a queue of outgoing requests */
        struct cldap_request *send_queue;
@@ -112,7 +112,7 @@ struct cldap_search {
 };
 
 struct cldap_socket *cldap_socket_init(TALLOC_CTX *mem_ctx, 
-                                      struct event_context *event_ctx, 
+                                      struct tevent_context *event_ctx, 
                                       struct smb_iconv_convenience *iconv_convenience);
 NTSTATUS cldap_set_incoming_handler(struct cldap_socket *cldap,
                                    void (*handler)(struct cldap_socket *, struct ldap_message *,