summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-23 22:46:08 +0100
committerVolker Lendecke <vl@samba.org>2008-11-24 11:39:03 +0100
commit783ab0480b7c1454a95cdb414d3277a8fa543e9a (patch)
tree85a90969b2fb88491f74ca201db08d46805f6701 /source3/include
parent798b9e1ad6bbdcf873285d0e1c5008e566744162 (diff)
downloadsamba-783ab0480b7c1454a95cdb414d3277a8fa543e9a.tar.gz
samba-783ab0480b7c1454a95cdb414d3277a8fa543e9a.tar.bz2
samba-783ab0480b7c1454a95cdb414d3277a8fa543e9a.zip
Convert move_driver_to_download_area to use create_conn_struct
This removes a use of struct current_user and the vuid The become_user() here is unnecessary, within the spoolss handling code we have switched to the authenticated pipe user anyway. Jerry, please check!
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a024d683f3..abb65ac654 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4775,8 +4775,9 @@ int get_ntdrivers(fstring **list, const char *architecture, uint32 version);
const char *get_short_archi(const char *long_archi);
WERROR clean_up_driver_struct(NT_PRINTER_DRIVER_INFO_LEVEL driver_abstract,
uint32 level, struct current_user *user);
-WERROR move_driver_to_download_area(NT_PRINTER_DRIVER_INFO_LEVEL driver_abstract, uint32 level,
- struct current_user *user, WERROR *perr);
+WERROR move_driver_to_download_area(struct pipes_struct *p,
+ NT_PRINTER_DRIVER_INFO_LEVEL driver_abstract,
+ uint32 level, WERROR *perr);
int pack_devicemode(NT_DEVICEMODE *nt_devmode, uint8 *buf, int buflen);
uint32 del_a_printer(const char *sharename);
NT_DEVICEMODE *construct_nt_devicemode(const fstring default_devicename);