diff options
author | David Disseldorp <ddiss@suse.de> | 2010-12-28 15:54:54 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-01-07 15:37:39 -0800 |
commit | 3e61c97a7e20a55be53f60c761091933ced53570 (patch) | |
tree | a2233c9403476befed018959c6d1b5ea448b73ef /source3/printing/printer_list.h | |
parent | ff577762b9cb37355f9433850b2119a6411e21da (diff) | |
download | samba-3e61c97a7e20a55be53f60c761091933ced53570.tar.gz samba-3e61c97a7e20a55be53f60c761091933ced53570.tar.bz2 samba-3e61c97a7e20a55be53f60c761091933ced53570.zip |
s3-printing: remove printer_list_need_refresh
printer_list_need_refresh() was used previously to ensure one smbd
process did not attempt to update the printer_list tdb during or soon
after update by another smbd.
It is no longer needed, as pcap updates are now only performed by the
parent smbd process following startup, SIGHUP, config update or printcap
cache time expiry.
Diffstat (limited to 'source3/printing/printer_list.h')
-rw-r--r-- | source3/printing/printer_list.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/printing/printer_list.h b/source3/printing/printer_list.h index bdcf308098..fce3e34248 100644 --- a/source3/printing/printer_list.h +++ b/source3/printing/printer_list.h @@ -96,13 +96,4 @@ NTSTATUS printer_list_clean_old(void); NTSTATUS printer_list_run_fn(void (*fn)(const char *, const char *, void *), void *private_data); - -/** - * @brief Check if the printer list needs to be refreshed. - * - * @return True if the database needs to be refreshed, false if - * not. - */ -bool printer_list_need_refresh(void); - #endif /* _PRINTER_LIST_H_ */ |