summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-17 14:26:56 +0100
committerGünther Deschner <gd@samba.org>2009-02-18 16:12:27 +0100
commit1cd34565d0ae07dfba773bc9e5679668137b724f (patch)
tree428861c3d8fbc18f882dec4d6a76409648fe5c27 /source3/include
parent73123420623b5d6bfb5d39f9a937c71976bdc450 (diff)
downloadsamba-1cd34565d0ae07dfba773bc9e5679668137b724f.tar.gz
samba-1cd34565d0ae07dfba773bc9e5679668137b724f.tar.bz2
samba-1cd34565d0ae07dfba773bc9e5679668137b724f.zip
s3-spoolss: remove old spoolss_XcvData.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/nt_printing.h22
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/include/rpc_spoolss.h38
3 files changed, 0 insertions, 64 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h
index f515a408f5..3bf51f2c9d 100644
--- a/source3/include/nt_printing.h
+++ b/source3/include/nt_printing.h
@@ -347,28 +347,6 @@ typedef struct
#define SAMBA_PRINTER_PORT_NAME "Samba Printer Port"
#endif
-
-/*
- * Structures for the XcvDataPort() calls
- */
-
-#define PORT_PROTOCOL_DIRECT 1
-#define PORT_PROTOCOL_LPR 2
-
-typedef struct {
- fstring name;
- uint32 version;
- uint32 protocol;
- fstring hostaddr;
- fstring snmpcommunity;
- fstring queue;
- uint32 dblspool;
- fstring ipaddr;
- uint32 port;
- bool enable_snmp;
- uint32 snmp_index;
-} NT_PORT_DATA_1;
-
/* DOS header format */
#define DOS_HEADER_SIZE 64
#define DOS_HEADER_MAGIC_OFFSET 0
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 04182fba24..3da5b987d1 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6042,10 +6042,6 @@ bool make_spoolss_q_getjob(SPOOL_Q_GETJOB *q_u, POLICY_HND *handle,
bool make_spoolss_q_rffpcnex(SPOOL_Q_RFFPCNEX *q_u, POLICY_HND *handle,
uint32 flags, uint32 options, const char *localmachine,
uint32 printerlocal, SPOOL_NOTIFY_OPTION *option);
-bool spoolss_io_q_xcvdataport(const char *desc, SPOOL_Q_XCVDATAPORT *q_u, prs_struct *ps, int depth);
-bool spoolss_io_r_xcvdataport(const char *desc, SPOOL_R_XCVDATAPORT *r_u, prs_struct *ps, int depth);
-bool make_monitorui_buf( RPC_BUFFER *buf, const char *dllname );
-bool convert_port_data_1( NT_PORT_DATA_1 *port1, RPC_BUFFER *buf ) ;
/* The following definitions come from rpc_server/srv_eventlog_lib.c */
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h
index ba66e4213e..8eb8785bd6 100644
--- a/source3/include/rpc_spoolss.h
+++ b/source3/include/rpc_spoolss.h
@@ -1497,44 +1497,6 @@ SPOOL_R_GETPRINTPROCESSORDIRECTORY;
/**************************************/
-#define MAX_PORTNAME 64
-#define MAX_NETWORK_NAME 49
-#define MAX_SNMP_COMM_NAME 33
-#define MAX_QUEUE_NAME 33
-#define MAX_IPADDR_STRING 17
-
-typedef struct {
- uint16 portname[MAX_PORTNAME];
- uint32 version;
- uint32 protocol;
- uint32 size;
- uint32 reserved;
- uint16 hostaddress[MAX_NETWORK_NAME];
- uint16 snmpcommunity[MAX_SNMP_COMM_NAME];
- uint32 dblspool;
- uint16 queue[MAX_QUEUE_NAME];
- uint16 ipaddress[MAX_IPADDR_STRING];
- uint32 port;
- uint32 snmpenabled;
- uint32 snmpdevindex;
-} SPOOL_PORT_DATA_1;
-
-typedef struct {
- POLICY_HND handle;
- UNISTR2 dataname;
- RPC_BUFFER indata;
- uint32 indata_len;
- uint32 offered;
- uint32 unknown;
-} SPOOL_Q_XCVDATAPORT;
-
-typedef struct {
- RPC_BUFFER outdata;
- uint32 needed;
- uint32 unknown;
- WERROR status;
-} SPOOL_R_XCVDATAPORT;
-
#define PRINTER_DRIVER_VERSION 2
#define PRINTER_DRIVER_ARCHITECTURE "Windows NT x86"