summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-10 21:52:31 +0000
committerJeremy Allison <jra@samba.org>2000-10-10 21:52:31 +0000
commitcdb71ca5181aa1e06bebe2fffb02dc39de83645e (patch)
tree19b23d77aa31da1d109bf54cc03b18111a05b083 /source3/include
parente8912baf025a1356aa8c02f971fbe3d67adc9b0a (diff)
downloadsamba-cdb71ca5181aa1e06bebe2fffb02dc39de83645e.tar.gz
samba-cdb71ca5181aa1e06bebe2fffb02dc39de83645e.tar.bz2
samba-cdb71ca5181aa1e06bebe2fffb02dc39de83645e.zip
Fixes to periodically scan printing.tdb in idle time and occasionally
on exit. Needed to fix printing.tdb from groving to 300Mb+ if being driven by smbclient clients that never ask for status... (effective DOS attack :-). Jeremy. (This used to be commit 6581066b93a674fadf6f9b92441428d2cc8b4a02)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 6911c43be7..0ea92c35aa 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1787,6 +1787,7 @@ int print_queue_snum(char *qname);
BOOL print_queue_pause(struct current_user *user, int snum, int *errcode);
BOOL print_queue_resume(struct current_user *user, int snum, int *errcode);
BOOL print_queue_purge(struct current_user *user, int snum, int *errcode);
+void process_print_queue(time_t t);
#endif
/*The following definitions come from profile/profile.c */