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