diff options
author | Günther Deschner <gd@samba.org> | 2008-06-06 12:51:12 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-17 19:56:27 +0200 |
commit | de7de69530b886e84627daa9597327dc4f2e0afb (patch) | |
tree | e2425c5e2c2eb56dc3a5901aa506f23a6c8edba6 /source3/librpc/gen_ndr/ndr_libnetapi.c | |
parent | db1db7da92011aa66b5442808d7cb8c529c0a83e (diff) | |
download | samba-de7de69530b886e84627daa9597327dc4f2e0afb.tar.gz samba-de7de69530b886e84627daa9597327dc4f2e0afb.tar.bz2 samba-de7de69530b886e84627daa9597327dc4f2e0afb.zip |
re-run make idl.
Guenther
(This used to be commit 782ab0f1c1c0957a1111a76c2c1ea7bd99d38311)
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_libnetapi.c')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c index 469b0ab54a..238cfdf1ed 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -1225,3 +1225,34 @@ _PUBLIC_ void ndr_print_NetLocalGroupSetInfo(struct ndr_print *ndr, const char * ndr->depth--; } +_PUBLIC_ void ndr_print_NetRemoteTOD(struct ndr_print *ndr, const char *name, int flags, const struct NetRemoteTOD *r) +{ + ndr_print_struct(ndr, name, "NetRemoteTOD"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetRemoteTOD"); + ndr->depth++; + ndr_print_string(ndr, "server_name", r->in.server_name); + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetRemoteTOD"); + ndr->depth++; + ndr_print_ptr(ndr, "buf", r->out.buf); + ndr->depth++; + ndr_print_ptr(ndr, "buf", *r->out.buf); + ndr->depth++; + if (*r->out.buf) { + ndr_print_uint8(ndr, "buf", **r->out.buf); + } + ndr->depth--; + ndr->depth--; + ndr_print_NET_API_STATUS(ndr, "result", r->out.result); + ndr->depth--; + } + ndr->depth--; +} + |