diff options
author | Gerald Carter <jerry@samba.org> | 2002-09-10 02:38:15 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-09-10 02:38:15 +0000 |
commit | 5793e15a27bf9f3bd00120ab0ff000b3935b19bf (patch) | |
tree | 90702b35a4ee1ad4db1ab2644bcb09230729606e /source3/include/nt_printing.h | |
parent | df920a60b5f207149cbc9dcb63d406abb0d0490c (diff) | |
download | samba-5793e15a27bf9f3bd00120ab0ff000b3935b19bf.tar.gz samba-5793e15a27bf9f3bd00120ab0ff000b3935b19bf.tar.bz2 samba-5793e15a27bf9f3bd00120ab0ff000b3935b19bf.zip |
change notify merge from APP_HEAD
(This used to be commit b5227f0a645fdf2358fcb880f22e4662efdfe8e3)
Diffstat (limited to 'source3/include/nt_printing.h')
-rw-r--r-- | source3/include/nt_printing.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 26d6e7e5f2..57767fc3c6 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -351,7 +351,7 @@ typedef struct _form #define SPOOLSS_NOTIFY_MSG_UNIX_JOBID 0x0001 /* Job id is unix */ -struct spoolss_notify_msg { +typedef struct spoolss_notify_msg { fstring printer; /* Name of printer notified */ uint32 type; /* Printer or job notify */ uint32 field; /* Notify field changed */ @@ -362,6 +362,18 @@ struct spoolss_notify_msg { uint32 value[2]; char *data; } notify; -}; +} SPOOLSS_NOTIFY_MSG; + +typedef struct { + fstring printername; + uint32 num_msgs; + SPOOLSS_NOTIFY_MSG *msgs; +} SPOOLSS_NOTIFY_MSG_GROUP; + +typedef struct { + TALLOC_CTX *ctx; + uint32 num_groups; + SPOOLSS_NOTIFY_MSG_GROUP *msg_groups; +} SPOOLSS_NOTIFY_MSG_CTR; #endif /* NT_PRINTING_H_ */ |