diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-14 07:20:46 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-14 07:20:46 +0000 |
commit | e8a3825ebc4dfe55581b980507384153b99f534d (patch) | |
tree | ebf5793643e9480956b345e93c395f9e5f8b3282 /source4/librpc/ndr/ndr_basic.c | |
parent | 5b7f049829ec86f2ee50f6ba6443fa349aba84c2 (diff) | |
download | samba-e8a3825ebc4dfe55581b980507384153b99f534d.tar.gz samba-e8a3825ebc4dfe55581b980507384153b99f534d.tar.xz samba-e8a3825ebc4dfe55581b980507384153b99f534d.zip |
we can now do a level1 NetDfsEnum()
(This used to be commit f32641f73f7ff12b797378b3b533603ff1d526b5)
Diffstat (limited to 'source4/librpc/ndr/ndr_basic.c')
-rw-r--r-- | source4/librpc/ndr/ndr_basic.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c index a643f658c06..6208943d94c 100644 --- a/source4/librpc/ndr/ndr_basic.c +++ b/source4/librpc/ndr/ndr_basic.c @@ -239,6 +239,18 @@ NTSTATUS ndr_push_array_uint8(struct ndr_push *ndr, const char *data, uint32 n) } /* + push an array of uint32 +*/ +NTSTATUS ndr_push_array_uint32(struct ndr_push *ndr, const uint32 *data, uint32 n) +{ + int i; + for (i=0;i<n;i++) { + NDR_CHECK(ndr_push_uint32(ndr, data[i])); + } + return NT_STATUS_OK; +} + +/* save the current position */ void ndr_push_save(struct ndr_push *ndr, struct ndr_push_save *save) |