diff options
author | Günther Deschner <gd@samba.org> | 2010-06-04 19:02:17 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-05 00:35:09 +0200 |
commit | 29c0c103afed7238698cc83ff3ab017fc1510dcd (patch) | |
tree | 78d90a063671eef302aa980a49e7fde173601c1f /source4/torture/rpc/spoolss.c | |
parent | b3ebebd3b18e4d9ebfc50012e02f7011f8d067be (diff) | |
download | samba-29c0c103afed7238698cc83ff3ab017fc1510dcd.tar.gz samba-29c0c103afed7238698cc83ff3ab017fc1510dcd.tar.bz2 samba-29c0c103afed7238698cc83ff3ab017fc1510dcd.zip |
s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN.
Guenther
Diffstat (limited to 'source4/torture/rpc/spoolss.c')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 7154b838f3..e61adfec83 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -2185,10 +2185,6 @@ static bool call_OpenPrinterEx(struct torture_context *tctx, struct spoolss_DeviceMode *devmode, struct policy_handle *handle); -static bool test_ClosePrinter(struct torture_context *tctx, - struct dcerpc_binding_handle *b, - struct policy_handle *handle); - static bool test_PrinterInfo_DevModes(struct torture_context *tctx, struct dcerpc_pipe *p, struct policy_handle *handle, @@ -2373,9 +2369,9 @@ static bool test_PrinterInfo_DevMode(struct torture_context *tctx, return ret; } -static bool test_ClosePrinter(struct torture_context *tctx, - struct dcerpc_binding_handle *b, - struct policy_handle *handle) +bool test_ClosePrinter(struct torture_context *tctx, + struct dcerpc_binding_handle *b, + struct policy_handle *handle) { NTSTATUS status; struct spoolss_ClosePrinter r; |