diff options
author | Andreas Schneider <asn@redhat.com> | 2010-03-15 12:30:05 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-07 15:16:52 +0200 |
commit | 77d1b73a3e31f67dce28055603c34bd78e927616 (patch) | |
tree | 27314308f70793a074be5ac5171760f154a99896 /source3/rpc_server/srv_spoolss_util.h | |
parent | e498338f6f29ffdcca0f3108968e04f635c797d4 (diff) | |
download | samba-77d1b73a3e31f67dce28055603c34bd78e927616.tar.gz samba-77d1b73a3e31f67dce28055603c34bd78e927616.tar.xz samba-77d1b73a3e31f67dce28055603c34bd78e927616.zip |
s3-spoolss: Added a delete_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.h')
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.h b/source3/rpc_server/srv_spoolss_util.h index 9be4a2be5de..2e6aa903f01 100644 --- a/source3/rpc_server/srv_spoolss_util.h +++ b/source3/rpc_server/srv_spoolss_util.h @@ -106,4 +106,25 @@ WERROR winreg_enum_printer_dataex(struct pipes_struct *p, uint32_t *pnum_values, struct spoolss_PrinterEnumValues **penum_values); +/** + * @internal + * + * @brief Delete printer data over a winreg pipe. + * + * @param[in] p The pipes structure to be able to open a new pipe. + * + * @param[in] printer The printer name. + * + * @param[in] key The key of the printer data to delete. + * + * @param[in] value The name of the value to delete. + * + * @return On success WERR_OK, a corresponding DOS error is + * something went wrong. + */ +WERROR winreg_delete_printer_dataex(struct pipes_struct *p, + const char *printer, + const char *key, + const char *value); + #endif /* _SRV_SPOOLSS_UITL_H */ |