From 6595ced146a53dcef9bbd5d2deb82a44c8ce1a1a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 18 Dec 2014 15:13:27 +0000 Subject: printing: rework nt_printer_guid_store to return errors Callers can now choose whether or not to ignore errors. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11018 Pair-programmed-with: David Disseldorp Signed-off-by: Andreas Schneider Signed-off-by: David Disseldorp Reviewed-by: Guenther Deschner --- source3/include/nt_printing.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 3d74b655c4..bfb6f8e22c 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -135,6 +135,9 @@ WERROR print_access_check(const struct auth_session_info *server_info, WERROR nt_printer_guid_retrieve(TALLOC_CTX *mem_ctx, const char *printer, struct GUID *pguid); +WERROR nt_printer_guid_store(struct messaging_context *msg_ctx, + const char *printer, struct GUID guid); + WERROR nt_printer_guid_get(TALLOC_CTX *mem_ctx, const struct auth_session_info *session_info, struct messaging_context *msg_ctx, -- cgit