summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:58:10 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:53 +0100
commit99367d413ac00d631fe0e559473395feee6cfc5a (patch)
tree3f492b571bc43f10e9511d7bf50a80ba3ed4456e
parentcf1f993c057cf296edfd5c28b2f9cd84862340d0 (diff)
downloadsamba-99367d413ac00d631fe0e559473395feee6cfc5a.tar.gz
samba-99367d413ac00d631fe0e559473395feee6cfc5a.tar.bz2
samba-99367d413ac00d631fe0e559473395feee6cfc5a.zip
s3:printing: s/struct event_context/struct tevent_context
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/printing/print_cups.c6
-rw-r--r--source3/printing/queue_process.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 9a478439d0..6ef03572f1 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -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)
diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c
index 3d142dd769..1ca186e29f 100644
--- a/source3/printing/queue_process.c
+++ b/source3/printing/queue_process.c
@@ -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);
/****************************************************************************