diff options
author | Andreas Schneider <asn@samba.org> | 2012-02-10 13:45:24 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-03-14 17:56:14 +0100 |
commit | 1a65f90a341752e5b6c9b3f7e8f301bb4a093d65 (patch) | |
tree | a65ffa2f8cc7a3739f875ce4437b64a447bd7e13 /source3 | |
parent | 034489718ca45a7b7e5a400f99d45387b1449746 (diff) | |
download | samba-1a65f90a341752e5b6c9b3f7e8f301bb4a093d65.tar.gz |
s3-printing: Make printer a const char *.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/nt_printing.h | 4 | ||||
-rw-r--r-- | 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 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; |