mirror of
https://github.com/samba-team/samba.git
synced 2025-09-10 05:44:20 +03:00
s3-printing: Make missing auth_serversupplied_info const.
This commit is contained in:
@@ -237,7 +237,7 @@ static WERROR nt_printer_unpublish_ads(ADS_STRUCT *ads,
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
WERROR nt_printer_publish(TALLOC_CTX *mem_ctx,
|
WERROR nt_printer_publish(TALLOC_CTX *mem_ctx,
|
||||||
struct auth_serversupplied_info *server_info,
|
const struct auth_serversupplied_info *server_info,
|
||||||
struct messaging_context *msg_ctx,
|
struct messaging_context *msg_ctx,
|
||||||
struct spoolss_PrinterInfo2 *pinfo2,
|
struct spoolss_PrinterInfo2 *pinfo2,
|
||||||
int action)
|
int action)
|
||||||
@@ -381,7 +381,7 @@ done:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool is_printer_published(TALLOC_CTX *mem_ctx,
|
bool is_printer_published(TALLOC_CTX *mem_ctx,
|
||||||
struct auth_serversupplied_info *server_info,
|
const struct auth_serversupplied_info *server_info,
|
||||||
struct messaging_context *msg_ctx,
|
struct messaging_context *msg_ctx,
|
||||||
char *servername, char *printer, struct GUID *guid,
|
char *servername, char *printer, struct GUID *guid,
|
||||||
struct spoolss_PrinterInfo2 **info2)
|
struct spoolss_PrinterInfo2 **info2)
|
||||||
@@ -453,7 +453,7 @@ done:
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
WERROR nt_printer_publish(TALLOC_CTX *mem_ctx,
|
WERROR nt_printer_publish(TALLOC_CTX *mem_ctx,
|
||||||
struct auth_serversupplied_info *server_info,
|
const struct auth_serversupplied_info *server_info,
|
||||||
struct messaging_context *msg_ctx,
|
struct messaging_context *msg_ctx,
|
||||||
struct spoolss_PrinterInfo2 *pinfo2,
|
struct spoolss_PrinterInfo2 *pinfo2,
|
||||||
int action)
|
int action)
|
||||||
|
Reference in New Issue
Block a user