From: Andreas Schneider Date: Fri, 10 Feb 2012 12:45:24 +0000 (+0100) Subject: s3-printing: Make printer a const char *. X-Git-Tag: tdb-1.2.10~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a65f90a341752e5b6c9b3f7e8f301bb4a093d65;p=thirdparty%2Fsamba.git s3-printing: Make printer a const char *. --- diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 08a21615dba..2243a3d0955 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 728fefbc444..3551148565d 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;