diff options
author | Gerald Carter <jerry@samba.org> | 2002-11-26 00:46:31 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-11-26 00:46:31 +0000 |
commit | afc5f1aefbddf68252f4b9a0a2cee2d5601d8057 (patch) | |
tree | 54a37b79338a875e6375a276540768587d73b77c /source3/include/printing.h | |
parent | 3ab6fcc5c6160d322bdfd2ca771dcf7954e92df7 (diff) | |
download | samba-afc5f1aefbddf68252f4b9a0a2cee2d5601d8057.tar.gz samba-afc5f1aefbddf68252f4b9a0a2cee2d5601d8057.tar.xz samba-afc5f1aefbddf68252f4b9a0a2cee2d5601d8057.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 f1062e79de8a3046c6e3f22b3d1a4819afe6809b)
Diffstat (limited to 'source3/include/printing.h')
-rw-r--r-- | source3/include/printing.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h index 38ff7eac366..1d658a07681 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_ */ |