s3:printing: s/struct event_context/struct tevent_context
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 08:58:10 +0000 (09:58 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:47:53 +0000 (23:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/printing/print_cups.c
source3/printing/queue_process.c

index 9a478439d075e42bb87efbb6296952acb29dfb92..6ef03572f16c5d2d4988844cbd8963ffaf7e2eba 100644 (file)
@@ -488,13 +488,13 @@ static bool cups_pcap_load_async(struct tevent_context *ev,
 
 struct cups_async_cb_args {
        int pipe_fd;
-       struct event_context *event_ctx;
+       struct tevent_context *event_ctx;
        struct messaging_context *msg_ctx;
-       void (*post_cache_fill_fn)(struct event_context *,
+       void (*post_cache_fill_fn)(struct tevent_context *,
                                   struct messaging_context *);
 };
 
-static void cups_async_callback(struct event_context *event_ctx,
+static void cups_async_callback(struct tevent_context *event_ctx,
                                struct fd_event *event,
                                uint16 flags,
                                void *p)
index 3d142dd7693d93c38e54822735834e2cf7c7befa..1ca186e29f61dfec9343cf7c75c124884c5e8b5a 100644 (file)
@@ -32,7 +32,7 @@
 #include "rpc_server/rpc_config.h"
 #include "printing/load.h"
 
-extern pid_t start_spoolssd(struct event_context *ev_ctx,
+extern pid_t start_spoolssd(struct tevent_context *ev_ctx,
                            struct messaging_context *msg_ctx);
 
 /****************************************************************************