From 1a65f90a341752e5b6c9b3f7e8f301bb4a093d65 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 10 Feb 2012 13:45:24 +0100 Subject: s3-printing: Make printer a const char *. --- source3/include/nt_printing.h | 4 +++- source3/printing/nt_printing_ads.c | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 08a21615db..2243a3d095 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -141,7 +141,9 @@ WERROR nt_printer_publish(TALLOC_CTX *mem_ctx, bool is_printer_published(TALLOC_CTX *mem_ctx, const struct auth_session_info *server_info, struct messaging_context *msg_ctx, - const char *servername, char *printer, struct GUID *guid, + const char *servername, + const char *printer, + struct GUID *guid, struct spoolss_PrinterInfo2 **info2); WERROR check_published_printers(struct messaging_context *msg_ctx); diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c index 728fefbc44..3551148565 100644 --- a/source3/printing/nt_printing_ads.c +++ b/source3/printing/nt_printing_ads.c @@ -390,7 +390,9 @@ done: bool is_printer_published(TALLOC_CTX *mem_ctx, const struct auth_session_info *session_info, struct messaging_context *msg_ctx, - const char *servername, char *printer, struct GUID *guid, + const char *servername, + const char *printer, + struct GUID *guid, struct spoolss_PrinterInfo2 **info2) { struct spoolss_PrinterInfo2 *pinfo2 = NULL; @@ -485,7 +487,9 @@ WERROR check_published_printers(struct messaging_context *msg_ctx) bool is_printer_published(TALLOC_CTX *mem_ctx, const struct auth_session_info *session_info, struct messaging_context *msg_ctx, - const char *servername, char *printer, struct GUID *guid, + const char *servername, + const char *printer, + struct GUID *guid, struct spoolss_PrinterInfo2 **info2) { return False; -- cgit