diff options
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 */ |