diff options
author | Simo Sorce <idra@samba.org> | 2010-04-19 21:01:38 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-23 16:29:48 +0200 |
commit | 8db203a4a60a8d043e36138873ed457f48acce72 (patch) | |
tree | 641ae840a1d1255f698c5400dc908b4131e5baa1 /source3/rpc_server/srv_spoolss_util.h | |
parent | 16e0f806872eaf620b12c375d25f0043d5dea704 (diff) | |
download | samba-8db203a4a60a8d043e36138873ed457f48acce72.tar.gz samba-8db203a4a60a8d043e36138873ed457f48acce72.tar.bz2 samba-8db203a4a60a8d043e36138873ed457f48acce72.zip |
s3-spoolss: Added a winreg_del_driver function.
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 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.h b/source3/rpc_server/srv_spoolss_util.h index 4ff730db1e..fad5f3a8bf 100644 --- a/source3/rpc_server/srv_spoolss_util.h +++ b/source3/rpc_server/srv_spoolss_util.h @@ -377,4 +377,24 @@ WERROR winreg_get_driver(TALLOC_CTX *mem_ctx, uint32_t driver_version, struct spoolss_DriverInfo8 **_info8); +/** + * @brief This function deletes a printer driver information + * + * @param[in] mem_ctx A talloc memory context. + * + * @param[in] server_info Auth info to open the pipe. + * + * @param[out] info8 The structure that holds the full driver information. + * + * @param[in] version The driver type version. + * + * @return On success WERR_OK, a corresponding DOS error is + * something went wrong. + */ + +WERROR winreg_del_driver(TALLOC_CTX *mem_ctx, + struct auth_serversupplied_info *server_info, + struct spoolss_DriverInfo8 *info8, + uint32_t version); + #endif /* _SRV_SPOOLSS_UITL_H */ |