summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-18 01:07:49 +0100
committerGünther Deschner <gd@samba.org>2009-03-18 01:12:24 +0100
commit2dae07a3ca62670d384937df2e4e9d6f54c99619 (patch)
tree6969bfd7344c1bb1dd921481c0ae914b0a636c31 /librpc/gen_ndr
parent4fb79b4fe78e89b7bbee5b280294037f43e0e2a1 (diff)
downloadsamba-2dae07a3ca62670d384937df2e4e9d6f54c99619.tar.gz
samba-2dae07a3ca62670d384937df2e4e9d6f54c99619.tar.bz2
samba-2dae07a3ca62670d384937df2e4e9d6f54c99619.zip
s3: re-run make samba3-idl.
Guenther
Diffstat (limited to 'librpc/gen_ndr')
-rw-r--r--librpc/gen_ndr/ndr_spoolss.c4
-rw-r--r--librpc/gen_ndr/spoolss.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/librpc/gen_ndr/ndr_spoolss.c b/librpc/gen_ndr/ndr_spoolss.c
index ba80b0ed3b..f9781bc261 100644
--- a/librpc/gen_ndr/ndr_spoolss.c
+++ b/librpc/gen_ndr/ndr_spoolss.c
@@ -18263,10 +18263,10 @@ _PUBLIC_ enum ndr_err_code ndr_push_spoolss_PrinterEnumValues(struct ndr_push *n
NDR_CHECK(ndr_push_relative_ptr2(ndr, r->data));
{
struct ndr_push *_ndr_data;
- NDR_CHECK(ndr_push_subcontext_start(ndr, &_ndr_data, 0, ndr_size_spoolss_PrinterData(r->data, r->type, ndr->iconv_convenience, ndr->flags)));
+ NDR_CHECK(ndr_push_subcontext_start(ndr, &_ndr_data, 0, r->data_length));
NDR_CHECK(ndr_push_set_switch_value(_ndr_data, r->data, r->type));
NDR_CHECK(ndr_push_spoolss_PrinterData(_ndr_data, NDR_SCALARS|NDR_BUFFERS, r->data));
- NDR_CHECK(ndr_push_subcontext_end(ndr, _ndr_data, 0, ndr_size_spoolss_PrinterData(r->data, r->type, ndr->iconv_convenience, ndr->flags)));
+ NDR_CHECK(ndr_push_subcontext_end(ndr, _ndr_data, 0, r->data_length));
}
}
}
diff --git a/librpc/gen_ndr/spoolss.h b/librpc/gen_ndr/spoolss.h
index 2c6e9a682d..c703c87f27 100644
--- a/librpc/gen_ndr/spoolss.h
+++ b/librpc/gen_ndr/spoolss.h
@@ -1483,7 +1483,7 @@ struct spoolss_PrinterEnumValues {
const char * value_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
uint32_t value_name_len;/* [value(2*strlen_m_term(value_name))] */
enum winreg_Type type;
- union spoolss_PrinterData *data;/* [relative,subcontext_size(data_length),subcontext(0),switch_is(type)] */
+ union spoolss_PrinterData *data;/* [relative,subcontext_size(r->data_length),subcontext(0),switch_is(type)] */
uint32_t data_length;/* [value(ndr_size_spoolss_PrinterData(data,type,ndr->iconv_convenience,ndr->flags))] */
}/* [relative_base,gensize,public] */;