diff options
author | Günther Deschner <gd@samba.org> | 2008-09-09 13:40:39 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-11 14:30:35 +0200 |
commit | f5c2e5890ec704af546bf84404bbd4cad2d7a266 (patch) | |
tree | 651aa845f1a64062897934b2a1ef9799aee6c84e /source3/librpc/gen_ndr/ndr_libnetapi.c | |
parent | e17da26aa0aacc5b0813cfd8fc1ef00094d2d7ac (diff) | |
download | samba-f5c2e5890ec704af546bf84404bbd4cad2d7a266.tar.gz samba-f5c2e5890ec704af546bf84404bbd4cad2d7a266.tar.xz samba-f5c2e5890ec704af546bf84404bbd4cad2d7a266.zip |
re-run make idl.
Guenther
(This used to be commit 3c07bcfb30ae5bb849291a5ca61b54798f14ee0a)
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_libnetapi.c')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c index 3c11574c143..48078a93f1f 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -2927,6 +2927,49 @@ _PUBLIC_ void ndr_print_NetUserSetGroups(struct ndr_print *ndr, const char *name ndr->depth--; } +_PUBLIC_ void ndr_print_NetUserGetLocalGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetLocalGroups *r) +{ + ndr_print_struct(ndr, name, "NetUserGetLocalGroups"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetUserGetLocalGroups"); + ndr->depth++; + ndr_print_string(ndr, "server_name", r->in.server_name); + ndr_print_string(ndr, "user_name", r->in.user_name); + ndr_print_uint32(ndr, "level", r->in.level); + ndr_print_uint32(ndr, "flags", r->in.flags); + ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen); + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetUserGetLocalGroups"); + ndr->depth++; + ndr_print_ptr(ndr, "buffer", r->out.buffer); + ndr->depth++; + ndr_print_ptr(ndr, "buffer", *r->out.buffer); + ndr->depth++; + if (*r->out.buffer) { + ndr_print_uint8(ndr, "buffer", **r->out.buffer); + } + ndr->depth--; + ndr->depth--; + ndr_print_ptr(ndr, "entries_read", r->out.entries_read); + ndr->depth++; + ndr_print_uint32(ndr, "entries_read", *r->out.entries_read); + ndr->depth--; + ndr_print_ptr(ndr, "total_entries", r->out.total_entries); + ndr->depth++; + ndr_print_uint32(ndr, "total_entries", *r->out.total_entries); + ndr->depth--; + ndr_print_NET_API_STATUS(ndr, "result", r->out.result); + ndr->depth--; + } + ndr->depth--; +} + _PUBLIC_ void ndr_print_NetUserModalsGet(struct ndr_print *ndr, const char *name, int flags, const struct NetUserModalsGet *r) { ndr_print_struct(ndr, name, "NetUserModalsGet"); |