summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-11-26 00:01:56 +0000
committerGerald Carter <jerry@samba.org>2002-11-26 00:01:56 +0000
commit585e8a8c02f78a072b98f681fda5748c3d9924ab (patch)
tree0e18ced080883cb8270e4c21b332f65caeca835a /source3/include
parent793cfe497e5a29b5e49388fc81a679cb2f9d90c7 (diff)
downloadsamba-585e8a8c02f78a072b98f681fda5748c3d9924ab.tar.gz
samba-585e8a8c02f78a072b98f681fda5748c3d9924ab.tar.bz2
samba-585e8a8c02f78a072b98f681fda5748c3d9924ab.zip
[print notify fixes from APP_HEAD]
* fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 (This used to be commit 256d8c27cdc6f802f3bfba44593b07014f6ae10a)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/printing.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h
index 38ff7eac36..1d658a0768 100644
--- a/source3/include/printing.h
+++ b/source3/include/printing.h
@@ -74,4 +74,20 @@ extern struct printif cups_printif;
#define PRINT_SPOOL_PREFIX "smbprn."
#define PRINT_DATABASE_VERSION 5
+/* There can be this many printing tdb's open, plus any locked ones. */
+#define MAX_PRINT_DBS_OPEN 1
+
+struct tdb_print_db {
+ struct tdb_print_db *next, *prev;
+ TDB_CONTEXT *tdb;
+ int ref_count;
+ fstring printer_name;
+};
+
+/*
+ * Used for print notify
+ */
+
+#define NOTIFY_PID_LIST_KEY "NOTIFY_PID_LIST"
+
#endif /* PRINTING_H_ */