s3-rpc_cli: add winreg_add_driver_package()
[metze/samba/wip.git] / source3 / rpc_client / cli_winreg_spoolss.h
index 7acba9a25702f08ff66a895d4940f16ac848886b..7e3f735b58753d949e201b268c7a25bc0349d306 100644 (file)
@@ -642,4 +642,30 @@ WERROR winreg_add_core_driver(TALLOC_CTX *mem_ctx,
                              const char *architecture,
                              const struct spoolss_CorePrinterDriver *r);
 
+/**
+ * @brief This function adds a driver package
+ *
+ * @param[in]  mem_ctx        A talloc memory context.
+ *
+ * @param[in]  b The dcerpc binding handle
+ *
+ * @param[in]  package_id    The package ID.
+ *
+ * @param[in]  architecture    The architecture type.
+ *
+ * @param[in]  driver_store_path The local DriverStorePath
+ *
+ * @param[in]  cab_path The local CabFile path
+ *
+ * @return              On success WERR_OK, a corresponding DOS error is
+ *                      something went wrong.
+ */
+
+WERROR winreg_add_driver_package(TALLOC_CTX *mem_ctx,
+                                struct dcerpc_binding_handle *winreg_handle,
+                                const char *package_id,
+                                const char *architecture,
+                                const char *driver_store_path,
+                                const char *cab_path);
+
 #endif /* _RPC_CLIENT_CLI_WINREG_SPOOLSS_H_ */