mirror of
https://github.com/samba-team/samba.git
synced 2025-12-05 12:23:50 +03:00
r13829: From the "It's not pretty but it works" category
* Finish prototype of the "add port command" implementation Format is "addportcommand portname deviceURI" * DeviceURI is either - socket://hostname:port/ - lpr://hostname/queue depending on what the client sent in the request
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
a444aa7f00
commit
6d74de7a67
@@ -2174,7 +2174,23 @@ SPOOL_R_GETPRINTPROCESSORDIRECTORY;
|
||||
|
||||
/**************************************/
|
||||
|
||||
typedef struct spool_q_xcvdataport {
|
||||
typedef struct {
|
||||
UNISTR portname; /* constant 64 wchars */
|
||||
uint32 version;
|
||||
uint32 protocol;
|
||||
uint32 size;
|
||||
uint32 reserved;
|
||||
UNISTR hostaddress; /* constant 49 wchars */
|
||||
UNISTR snmpcommunity; /* constant 33 wchars */
|
||||
uint32 dblspool;
|
||||
UNISTR queue; /* constant 33 wchars */
|
||||
UNISTR ipaddress; /* constant 17 wchars */
|
||||
uint32 port;
|
||||
uint32 snmpenabled;
|
||||
uint32 snmpdevindex;
|
||||
} SPOOL_PORT_DATA_1;
|
||||
|
||||
typedef struct {
|
||||
POLICY_HND handle;
|
||||
UNISTR2 dataname;
|
||||
RPC_BUFFER indata;
|
||||
@@ -2183,7 +2199,7 @@ typedef struct spool_q_xcvdataport {
|
||||
uint32 unknown;
|
||||
} SPOOL_Q_XCVDATAPORT;
|
||||
|
||||
typedef struct spool_r_xcvdataport {
|
||||
typedef struct {
|
||||
RPC_BUFFER outdata;
|
||||
uint32 needed;
|
||||
uint32 unknown;
|
||||
|
||||
Reference in New Issue
Block a user