summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-04-14 20:48:00 -0400
committerSimo Sorce <idra@samba.org>2010-07-27 10:27:09 -0400
commit52b8f1f4710f1e3482031a76fd2191388289967f (patch)
tree76e3e4bdab7c3f25cfb72fa9badf7f84e209c7cc /source3/include
parente517588a2073986ccd0edd76f9e3c865146bf1f4 (diff)
downloadsamba-52b8f1f4710f1e3482031a76fd2191388289967f.tar.gz
samba-52b8f1f4710f1e3482031a76fd2191388289967f.tar.bz2
samba-52b8f1f4710f1e3482031a76fd2191388289967f.zip
s3-spoolss: Migrated driver functions to winreg.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 52f2cca050..f9d8262973 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4731,7 +4731,6 @@ int write_ntforms(nt_forms_struct **list, int number);
bool add_a_form(nt_forms_struct **list, struct spoolss_AddFormInfo1 *form, int *count);
bool delete_a_form(nt_forms_struct **list, const char *del_name, int *count, WERROR *ret);
void update_a_form(nt_forms_struct **list, struct spoolss_AddFormInfo1 *form, int count);
-int get_ntdrivers(fstring **list, const char *architecture, uint32 version);
const char *get_short_archi(const char *long_archi);
WERROR clean_up_driver_struct(TALLOC_CTX *mem_ctx,
struct pipes_struct *rpc_pipe,
@@ -4779,21 +4778,14 @@ WERROR get_a_printer_search( Printer_entry *print_hnd,
uint32 free_a_printer(NT_PRINTER_INFO_LEVEL **pp_printer, uint32 level);
bool driver_info_ctr_to_info8(struct spoolss_AddDriverInfoCtr *r,
struct spoolss_DriverInfo8 *_info8);
-uint32_t add_a_printer_driver(TALLOC_CTX *mem_ctx,
- struct spoolss_AddDriverInfoCtr *r,
- char **driver_name,
- uint32_t *version);
-WERROR get_a_printer_driver(TALLOC_CTX *mem_ctx,
- struct spoolss_DriverInfo8 **driver_p,
- const char *drivername, const char *architecture,
- uint32_t version);
-uint32_t free_a_printer_driver(struct spoolss_DriverInfo8 *driver);
-bool printer_driver_in_use(const struct spoolss_DriverInfo8 *r);
+bool printer_driver_in_use(TALLOC_CTX *mem_ctx,
+ struct auth_serversupplied_info *server_info,
+ const struct spoolss_DriverInfo8 *r);
bool printer_driver_files_in_use(TALLOC_CTX *mem_ctx,
+ struct auth_serversupplied_info *server_info,
struct spoolss_DriverInfo8 *r);
-WERROR delete_printer_driver(struct pipes_struct *rpc_pipe,
- const struct spoolss_DriverInfo8 *r,
- uint32 version, bool delete_files );
+bool delete_driver_files(struct auth_serversupplied_info *server_info,
+ const struct spoolss_DriverInfo8 *r);
WERROR nt_printing_setsec(const char *sharename, struct sec_desc_buf *secdesc_ctr);
bool nt_printing_getsec(TALLOC_CTX *ctx, const char *sharename, struct sec_desc_buf **secdesc_ctr);
void map_printer_permissions(struct security_descriptor *sd);