summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-16 04:25:45 +0000
committerTim Potter <tpot@samba.org>2003-11-16 04:25:45 +0000
commit1f4fe8e48603a68c4bc9ebbbee001b8e932c77ba (patch)
tree7c51938e6858d1ce344c66338a9c9115b41a5ef4 /source4/librpc/rpc
parentfc55fd3e336576fea9a1029a8f2aedc2c4c21b06 (diff)
downloadsamba-1f4fe8e48603a68c4bc9ebbbee001b8e932c77ba.tar.gz
samba-1f4fe8e48603a68c4bc9ebbbee001b8e932c77ba.tar.bz2
samba-1f4fe8e48603a68c4bc9ebbbee001b8e932c77ba.zip
Commit autogenerated code for EnumPrinters and ClosePrinter.
(This used to be commit 1a0271fc3402ab7bd7bb004be8f833dfb8a1724f)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/rpc_spoolss.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/librpc/rpc/rpc_spoolss.c b/source4/librpc/rpc/rpc_spoolss.c
index d8ec769b61..45ee3726fd 100644
--- a/source4/librpc/rpc/rpc_spoolss.c
+++ b/source4/librpc/rpc/rpc_spoolss.c
@@ -3,12 +3,12 @@
#include "includes.h"
-NTSTATUS dcerpc_spoolss_00(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_00 *r)
+NTSTATUS dcerpc_spoolss_EnumPrinters(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_EnumPrinters *r)
{
NTSTATUS status;
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_00, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_00,
- (ndr_pull_fn_t) ndr_pull_spoolss_00,
+ status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_ENUMPRINTERS, mem_ctx,
+ (ndr_push_fn_t) ndr_push_spoolss_EnumPrinters,
+ (ndr_pull_fn_t) ndr_pull_spoolss_EnumPrinters,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -409,12 +409,12 @@ NTSTATUS dcerpc_spoolss_1c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct sp
return r->out.result;
}
-NTSTATUS dcerpc_spoolss_1d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1d *r)
+NTSTATUS dcerpc_spoolss_ClosePrinter(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_ClosePrinter *r)
{
NTSTATUS status;
- status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1D, mem_ctx,
- (ndr_push_fn_t) ndr_push_spoolss_1d,
- (ndr_pull_fn_t) ndr_pull_spoolss_1d,
+ status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_CLOSEPRINTER, mem_ctx,
+ (ndr_push_fn_t) ndr_push_spoolss_ClosePrinter,
+ (ndr_pull_fn_t) ndr_pull_spoolss_ClosePrinter,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;