summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_spoolss_buf.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2019-12-23 16:53:37 +0100
committerJeremy Allison <jra@samba.org>2020-01-08 23:51:31 +0000
commitc433dac59818d580bdccb0d0e0daac71ccf01ee2 (patch)
tree2066ac22b03238ba5c716483db9d4203abb40636 /librpc/ndr/ndr_spoolss_buf.c
parentc9bebbcc464e98abeeb008551657532a1831a96f (diff)
downloadsamba-c433dac59818d580bdccb0d0e0daac71ccf01ee2.tar.gz
librpc: pidlify spoolss_EnumPerMachineConnections
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc/ndr/ndr_spoolss_buf.c')
-rw-r--r--librpc/ndr/ndr_spoolss_buf.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_spoolss_buf.c b/librpc/ndr/ndr_spoolss_buf.c
index 1efbdf1ea4c..393d7addeb5 100644
--- a/librpc/ndr/ndr_spoolss_buf.c
+++ b/librpc/ndr/ndr_spoolss_buf.c
@@ -567,6 +567,34 @@ uint32_t ndr_size_spoolss_EnumPrintProcessorDataTypes_info(TALLOC_CTX *mem_ctx,
}
/*
+ spoolss_EnumPerMachineConnections
+*/
+enum ndr_err_code ndr_push_spoolss_EnumPerMachineConnections(struct ndr_push *ndr, int flags, const struct spoolss_EnumPerMachineConnections *r)
+{
+ NDR_SPOOLSS_PUSH_ENUM(spoolss_EnumPerMachineConnections,{
+ _r.in.server = r->in.server;
+ },{
+ _r.in.server = r->in.server;
+ });
+ return NDR_ERR_SUCCESS;
+}
+
+enum ndr_err_code ndr_pull_spoolss_EnumPerMachineConnections(struct ndr_pull *ndr, int flags, struct spoolss_EnumPerMachineConnections *r)
+{
+ NDR_SPOOLSS_PULL_ENUM(spoolss_EnumPerMachineConnections,{
+ r->in.server = _r.in.server;
+ },{
+ _r.in.server = r->in.server;
+ });
+ return NDR_ERR_SUCCESS;
+}
+
+uint32_t ndr_size_spoolss_EnumPerMachineConnections_info(TALLOC_CTX *mem_ctx, uint32_t count, struct spoolss_PrinterInfo4 *info)
+{
+ NDR_SPOOLSS_SIZE_ENUM(spoolss_EnumPerMachineConnections);
+}
+
+/*
spoolss_EnumPrinterDataEx
*/