diff options
author | Tim Potter <tpot@samba.org> | 2002-06-06 01:19:56 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-06-06 01:19:56 +0000 |
commit | 617a551c4255aafc4612939ac05779e495f370ac (patch) | |
tree | 71c30d48189c09431880f4d9ad30d97c76531643 /source3/rpc_server | |
parent | bfa2dfaba846bd91fd084e9358f5ff8cd0d7dc4b (diff) | |
download | samba-617a551c4255aafc4612939ac05779e495f370ac.tar.gz samba-617a551c4255aafc4612939ac05779e495f370ac.tar.bz2 samba-617a551c4255aafc4612939ac05779e495f370ac.zip |
Moved some notify related constants into srv_spoolss_nt.c since
they're only used there.
Added a PRINTER_NOTIFY_VERSION constant.
(This used to be commit 9d3933a59219388c209d8be4ae6decfa337d229f)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 40ad3e89fe..f35f089535 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -2466,6 +2466,14 @@ struct s_notify_info_data_table NT_PRINTER_INFO_LEVEL *printer, TALLOC_CTX *mem_ctx); }; +/* A table describing the various print notification constants and + whether the notification data is a pointer to a variable sized + buffer, a one value uint32 or a two value uint32. */ + +#define ONE_VALUE 1 +#define TWO_VALUE 2 +#define POINTER 3 + struct s_notify_info_data_table notify_info_data_table[] = { { PRINTER_NOTIFY_TYPE, PRINTER_NOTIFY_SERVER_NAME, "PRINTER_NOTIFY_SERVER_NAME", POINTER, spoolss_notify_server_name }, |