From 585e8a8c02f78a072b98f681fda5748c3d9924ab Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 26 Nov 2002 00:01:56 +0000 Subject: [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) --- source3/include/printing.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source3/include') 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_ */ -- cgit