diff options
| author | Andreas Schneider <asn@samba.org> | 2014-12-18 15:13:27 +0000 |
|---|---|---|
| committer | Günther Deschner <gd@samba.org> | 2015-02-18 10:14:09 +0100 |
| commit | 6595ced146a53dcef9bbd5d2deb82a44c8ce1a1a (patch) | |
| tree | 1dcd6019028edc2c3fb74641920bacf7ac542429 /source3/include | |
| parent | 38dbd054dc331a441b10fdebbdb4bd0fc51cfc0a (diff) | |
| download | samba-6595ced146a53dcef9bbd5d2deb82a44c8ce1a1a.tar.gz samba-6595ced146a53dcef9bbd5d2deb82a44c8ce1a1a.tar.xz samba-6595ced146a53dcef9bbd5d2deb82a44c8ce1a1a.zip | |
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 <ddiss@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include')
| -rw-r--r-- | source3/include/nt_printing.h | 3 |
1 files changed, 3 insertions, 0 deletions
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, |
