From 48fca54a29375dfad84a9863c70fed8b88d70221 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 1 Oct 2010 06:05:38 +0200 Subject: s3-spoolss: dont overwrite location change notify. Guenther --- source3/printing/notify.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source3/printing/notify.c') diff --git a/source3/printing/notify.c b/source3/printing/notify.c index 9f07f6cba6..84a979e1b2 100644 --- a/source3/printing/notify.c +++ b/source3/printing/notify.c @@ -577,6 +577,19 @@ void notify_printer_location(struct tevent_context *ev, snum, strlen(location) + 1, location); } +void notify_printer_sepfile(struct tevent_context *ev, + struct messaging_context *msg_ctx, + int snum, const char *sepfile) +{ + const char *sharename = lp_servicename(snum); + + send_notify_field_buffer( + ev, msg_ctx, + sharename, PRINTER_NOTIFY_TYPE, PRINTER_NOTIFY_FIELD_SEPFILE, + snum, strlen(sepfile) + 1, sepfile); +} + + void notify_printer_byname(struct tevent_context *ev, struct messaging_context *msg_ctx, const char *printername, uint32 change, -- cgit