s4:lib/tevent: rename structs
[kamenim/samba.git] / source4 / libcli / composite / composite.h
index 28cd6a88dc04147b674b54e98f4afc12bb0228fe..a99a762c5faa14d0553d8efbd02269b68cb5dd41 100644 (file)
@@ -24,6 +24,8 @@
 
 #include "libcli/raw/interfaces.h"
 
+struct tevent_context;
+
 /*
   this defines the structures associated with "composite"
   requests. Composite requests are libcli requests that are internally
@@ -54,7 +56,7 @@ struct composite_context {
        NTSTATUS status;
 
        /* the event context we are using */
-       struct event_context *event_ctx;
+       struct tevent_context *event_ctx;
 
        /* information on what to do on completion */
        struct {
@@ -71,7 +73,7 @@ struct smb2_request;
 struct rpc_request;
 struct nbt_name_request;
 
-struct composite_context *composite_create(TALLOC_CTX *mem_ctx, struct event_context *ev);
+struct composite_context *composite_create(TALLOC_CTX *mem_ctx, struct tevent_context *ev);
 bool composite_nomem(const void *p, struct composite_context *ctx);
 void composite_continue(struct composite_context *ctx,
                                 struct composite_context *new_ctx,