s3:spoolss: Add support for COPY_FROM_DIRECTORY in AddPrinterDriverEx
[amitay/samba.git] / source3 / include / nt_printing.h
index e253658fa209d68013080308087fac6e0b07e603..e0003f9876222b5e45f54932973c3e55f3c7cff5 100644 (file)
@@ -170,11 +170,14 @@ bool delete_driver_files(const struct auth_session_info *server_info,
                         const struct spoolss_DriverInfo8 *r);
 
 WERROR move_driver_to_download_area(struct auth_session_info *session_info,
-                                   struct spoolss_AddDriverInfoCtr *r);
+                                   struct spoolss_AddDriverInfoCtr *r,
+                                   const char *driver_directory);
 
 WERROR clean_up_driver_struct(TALLOC_CTX *mem_ctx,
                              struct auth_session_info *session_info,
-                             struct spoolss_AddDriverInfoCtr *r);
+                             struct spoolss_AddDriverInfoCtr *r,
+                             uint32_t flags,
+                             const char **driver_directory);
 
 void map_printer_permissions(struct security_descriptor *sd);