spoolss: fill in spoolss_SetPort IDL.
authorGünther Deschner <gd@samba.org>
Sun, 3 Oct 2010 06:13:35 +0000 (08:13 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 4 Oct 2010 07:29:47 +0000 (09:29 +0200)
Guenther

librpc/idl/spoolss.idl
source3/rpc_server/srv_spoolss_nt.c
source4/rpc_server/spoolss/dcesrv_spoolss.c

index 74ad0e6161148ed22bf336152f1aa755c87f5873..b80e218ee83f44caeb5647090a01e2369344156e 100644 (file)
@@ -2831,7 +2831,10 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
 
        /******************/
        /* Function: 0x47 */
-       [todo] WERROR spoolss_47(
+       WERROR spoolss_SetPort(
+               [in,unique] [string,charset(UTF16)] uint16 *servername,
+               [in,unique] [string,charset(UTF16)] uint16 *port_name,
+               [in,ref] spoolss_SetPortInfoContainer *port_ctr
        );
 
        /******************/
index d79c9314c6086b632dfd76328bbeecee6677b2f9..8c4067bdc89ed65fd31b3e8fc138fb6e58e90bd6 100644 (file)
@@ -10294,11 +10294,11 @@ WERROR _spoolss_44(struct pipes_struct *p,
 }
 
 /****************************************************************
- _spoolss_47
+ _spoolss_SetPort
 ****************************************************************/
 
-WERROR _spoolss_47(struct pipes_struct *p,
-                  struct spoolss_47 *r)
+WERROR _spoolss_SetPort(struct pipes_struct *p,
+                       struct spoolss_SetPort *r)
 {
        p->rng_fault_state = true;
        return WERR_NOT_SUPPORTED;
index e17fb812f46c37cc8db55328c74c610e4236b350..66cd14d84abda9e24e93dde40468bdbc9b78c5fd 100644 (file)
@@ -1305,10 +1305,10 @@ static WERROR dcesrv_spoolss_AddPrinterEx(struct dcesrv_call_state *dce_call, TA
 
 
 /* 
-  spoolss_47 
+  spoolss_SetPort
 */
-static WERROR dcesrv_spoolss_47(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
-                      struct spoolss_47 *r)
+static WERROR dcesrv_spoolss_SetPort(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
+                      struct spoolss_SetPort *r)
 {
        DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
 }