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 | f1062e79de8a3046c6e3f22b3d1a4819afe6809b (patch) | |
tree | 60ab6cb91e1ba7d4fccb59111d074c96553d7e9c /source/include | |
parent | 016ef8b36b30846311a5321803298f8e28719244 (diff) | |
download | samba-f1062e79de8a3046c6e3f22b3d1a4819afe6809b.tar.gz samba-f1062e79de8a3046c6e3f22b3d1a4819afe6809b.tar.xz samba-f1062e79de8a3046c6e3f22b3d1a4819afe6809b.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
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/printing.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/include/printing.h b/source/include/printing.h index 38ff7eac366..1d658a07681 100644 --- a/source/include/printing.h +++ b/source/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_ */ |