From 25a2d94974c7befd13f90e52b61e297c31ae52e9 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 14 May 2010 15:49:29 -0400 Subject: s3-printing: Add method to skip refresh if just happned. This way if multiple process try to refresh at the same time we don't do it over and over again. Signed-off-by: Andreas Schneider --- source3/printing/printer_list.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/printing/printer_list.h') diff --git a/source3/printing/printer_list.h b/source3/printing/printer_list.h index 5772fbaaa3..a5e7993ed0 100644 --- a/source3/printing/printer_list.h +++ b/source3/printing/printer_list.h @@ -39,4 +39,6 @@ NTSTATUS printer_list_clean_old(void); NTSTATUS printer_list_run_fn(void (*fn)(const char *, const char *, void *), void *private_data); +bool printer_list_need_refresh(void); + #endif /* _PRINTER_LIST_H_ */ -- cgit