diff options
author | Günther Deschner <gd@samba.org> | 2008-09-09 19:30:43 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-11 14:36:47 +0200 |
commit | 5986c6730592cc9c007338be8524f74d62467da6 (patch) | |
tree | 93609f4bc5f3f5bcf24d1f70956d8d0ffe7bc312 /source3/librpc/gen_ndr/ndr_libnetapi.c | |
parent | 092f92699dd142f368f9f9f45600bcb4dbbb2e3e (diff) | |
download | samba-5986c6730592cc9c007338be8524f74d62467da6.tar.gz samba-5986c6730592cc9c007338be8524f74d62467da6.tar.bz2 samba-5986c6730592cc9c007338be8524f74d62467da6.zip |
re-run make idl.
Guenther
(This used to be commit e82c7481a01283f446ccf5e34261835d5b69f969)
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_libnetapi.c')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 33 |
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 de5dcaeaa1..8105cce401 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -3891,3 +3891,36 @@ _PUBLIC_ void ndr_print_NetFileClose(struct ndr_print *ndr, const char *name, in ndr->depth--; } +_PUBLIC_ void ndr_print_NetFileGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetFileGetInfo *r) +{ + ndr_print_struct(ndr, name, "NetFileGetInfo"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetFileGetInfo"); + ndr->depth++; + ndr_print_string(ndr, "server_name", r->in.server_name); + ndr_print_uint32(ndr, "fileid", r->in.fileid); + ndr_print_uint32(ndr, "level", r->in.level); + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetFileGetInfo"); + 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--; +} + |