From 354c24d5257bad429c300b5cb7052d034d48d7a9 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 3 Mar 2006 19:28:51 +0000 Subject: r13820: * Start fleshing out the XcvDataPort() server implementation * Add support for the "Local Port" monitor as well through this API (This used to be commit ba9cdd88a0abf90a9c04959e554d7e4f10d17ff7) --- source3/include/nt_printing.h | 7 ++++--- source3/include/rpc_spoolss.h | 5 ++++- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 7e3bd32003..a2aba3ed26 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -421,9 +421,10 @@ typedef struct { SPOOLSS_NOTIFY_MSG_GROUP *msg_groups; } SPOOLSS_NOTIFY_MSG_CTR; -#define PRINTER_HANDLE_IS_PRINTER 0 -#define PRINTER_HANDLE_IS_PRINTSERVER 1 -#define PRINTER_HANDLE_IS_TCPMON 2 +#define SPLHND_PRINTER 1 +#define SPLHND_SERVER 2 +#define SPLHND_PORTMON_TCP 3 +#define SPLHND_PORTMON_LOCAL 4 /* structure to store the printer handles */ /* and a reference to what it's pointing to */ diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h index 347aca0e08..75fe021a68 100755 --- a/source3/include/rpc_spoolss.h +++ b/source3/include/rpc_spoolss.h @@ -115,7 +115,10 @@ * docs on the XcvDataPort() for more details. */ -#define SPL_XCV_MONITOR_TCPMON ",XcvMonitor Standard TCP/IP Port" +#define SPL_LOCAL_PORT "Local Port" +#define SPL_TCPIP_PORT "Standard TCP/IP Port" +#define SPL_XCV_MONITOR_LOCALMON ",XcvMonitor Local Port" +#define SPL_XCV_MONITOR_TCPMON ",XcvMonitor Standard TCP/IP Port" #define PRINTER_CONTROL_UNPAUSE 0x00000000 -- cgit