diff options
author | Jeremy Allison <jra@samba.org> | 2000-10-11 02:26:27 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-10-11 02:26:27 +0000 |
commit | 26a4a34d36aff371b2b03506b4e7544847dd1d69 (patch) | |
tree | fc0140994809e9b828cb26c9bfcf807d52d2e384 /source3/include | |
parent | e9270d61fc8ddaecd8eb1d2c0a9ce8eba13b1194 (diff) | |
download | samba-26a4a34d36aff371b2b03506b4e7544847dd1d69.tar.gz samba-26a4a34d36aff371b2b03506b4e7544847dd1d69.tar.bz2 samba-26a4a34d36aff371b2b03506b4e7544847dd1d69.zip |
Fix for growing printing.tdb by adding check on job creation.
This also updates the printing.tdb db version to 2.
Jeremy.
(This used to be commit 13395514c632341e7be36eb9589011bb0949b075)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/include/smb.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 6911c43be7..b68209434f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1544,6 +1544,7 @@ int _lp_force_dir_security_mode(int ); int lp_max_connections(int ); int lp_defaultcase(int ); int lp_minprintspace(int ); +int lp_maxprintjobs(int ); int lp_printing(int ); int lp_oplock_contention_limit(int ); int lp_write_cache_size(int ); diff --git a/source3/include/smb.h b/source3/include/smb.h index 16fb954ad8..b1efb4260a 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -660,6 +660,7 @@ enum {LPSTAT_OK, LPSTAT_STOPPED, LPSTAT_ERROR}; typedef struct { fstring message; + int qcount; int status; } print_status_struct; |