diff options
author | Jeremy Allison <jra@samba.org> | 2000-08-01 00:41:19 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-08-01 00:41:19 +0000 |
commit | d95777ac34f68a3525786103b9217f6397d9f1d4 (patch) | |
tree | 08979563f948bea642c0afeeea00f79179c4e104 /source3/include/proto.h | |
parent | 55ff9cb38bbabfaee591f6f5190e57b5564f3942 (diff) | |
download | samba-d95777ac34f68a3525786103b9217f6397d9f1d4.tar.gz samba-d95777ac34f68a3525786103b9217f6397d9f1d4.tar.bz2 samba-d95777ac34f68a3525786103b9217f6397d9f1d4.zip |
Added print job substitutions for %{printername}, %{sharename} and %{portname}
from the NT printer tdb.
Also added checks for time restrictions before allowing a job to print.
Jeremy.
(This used to be commit 8cfb55e81abebf0354e6d470ed68bbac1d6560ad)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 9b526608f4..85ea676736 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1686,6 +1686,7 @@ BOOL unlink_specific_param_if_exist(NT_PRINTER_INFO_LEVEL_2 *info_2, NT_PRINTER_ NT_DEVICEMODE *construct_nt_devicemode(const fstring default_devicename); NT_DEVICEMODE *dup_nt_devicemode(NT_DEVICEMODE *nt_devicemode); void free_nt_devicemode(NT_DEVICEMODE **devmode_ptr); +void get_printer_subst_params(int snum, fstring *printername, fstring *sharename, fstring *portname); uint32 add_a_printer(NT_PRINTER_INFO_LEVEL printer, uint32 level); uint32 get_a_printer(NT_PRINTER_INFO_LEVEL **pp_printer, uint32 level, fstring sharename); uint32 free_a_printer(NT_PRINTER_INFO_LEVEL **pp_printer, uint32 level); @@ -1701,6 +1702,7 @@ uint32 nt_printing_setsec(char *printername, SEC_DESC_BUF *secdesc_ctr); BOOL nt_printing_getsec(char *printername, SEC_DESC_BUF **secdesc_ctr); BOOL print_access_check(struct current_user *user, int snum, uint32 required_access); +BOOL print_time_access_check(int snum); #endif /*The following definitions come from printing/pcap.c */ |