diff options
author | Simo Sorce <idra@samba.org> | 2010-04-19 21:50:52 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-23 16:30:57 +0200 |
commit | 8cb79bf4cd577468dd891106ce6e0d01969b2233 (patch) | |
tree | 01c33572bbef4f5775e4193bdff68ff42f525475 /source3/rpc_server/srv_spoolss_util.h | |
parent | 8db203a4a60a8d043e36138873ed457f48acce72 (diff) | |
download | samba-8cb79bf4cd577468dd891106ce6e0d01969b2233.tar.gz samba-8cb79bf4cd577468dd891106ce6e0d01969b2233.tar.bz2 samba-8cb79bf4cd577468dd891106ce6e0d01969b2233.zip |
s3-spoolss: Added a winreg_get_driver_list 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 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.h b/source3/rpc_server/srv_spoolss_util.h index fad5f3a8bf..35a47283e2 100644 --- a/source3/rpc_server/srv_spoolss_util.h +++ b/source3/rpc_server/srv_spoolss_util.h @@ -397,4 +397,31 @@ WERROR winreg_del_driver(TALLOC_CTX *mem_ctx, struct spoolss_DriverInfo8 *info8, uint32_t version); +/** + * @brief This function gets printer drivers list for the specified + * architecture and type version + * + * @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] version The driver version. + * + * @param[out] num_drivers The number of drivers. + * + * @param[out] version The drivers names. + * + * @return On success WERR_OK, a corresponding DOS error is + * something went wrong. + */ + +WERROR winreg_get_driver_list(TALLOC_CTX *mem_ctx, + struct auth_serversupplied_info *server_info, + const char *architecture, + uint32_t version, + uint32_t *num_drivers, + const char ***drivers); + #endif /* _SRV_SPOOLSS_UITL_H */ |