summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/ndr_libnetapi.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-07-16 10:45:31 +0200
committerGünther Deschner <gd@samba.org>2008-07-18 17:16:29 +0200
commit9569621e95c034e2300ee29eacaf7442360bc63e (patch)
treec2c761cd40e3c678596dff2ee2fa9b785eb5618d /source3/librpc/gen_ndr/ndr_libnetapi.c
parentf5e1c8a190ec282f7736c4c01c79d4d3d96184d2 (diff)
downloadsamba-9569621e95c034e2300ee29eacaf7442360bc63e.tar.gz
samba-9569621e95c034e2300ee29eacaf7442360bc63e.tar.bz2
samba-9569621e95c034e2300ee29eacaf7442360bc63e.zip
re-run make idl.
Guenther (This used to be commit 60e646b5b5d8bce5c7a6f8692bba7125075656e2)
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_libnetapi.c')
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c
index 246b5fbc1d..42d21638e4 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -1619,6 +1619,39 @@ _PUBLIC_ void ndr_print_NetUserChangePassword(struct ndr_print *ndr, const char
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetUserGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetInfo *r)
+{
+ ndr_print_struct(ndr, name, "NetUserGetInfo");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetUserGetInfo");
+ 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->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetUserGetInfo");
+ 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_NET_API_STATUS(ndr, "result", r->out.result);
+ ndr->depth--;
+ }
+ ndr->depth--;
+}
+
_PUBLIC_ void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetQueryDisplayInformation *r)
{
ndr_print_struct(ndr, name, "NetQueryDisplayInformation");