diff options
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_libnetapi.c')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c index 4f2579f256..1d33a2eb89 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -3428,3 +3428,27 @@ _PUBLIC_ void ndr_print_NetShareAdd(struct ndr_print *ndr, const char *name, int ndr->depth--; } +_PUBLIC_ void ndr_print_NetShareDel(struct ndr_print *ndr, const char *name, int flags, const struct NetShareDel *r) +{ + ndr_print_struct(ndr, name, "NetShareDel"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetShareDel"); + ndr->depth++; + ndr_print_string(ndr, "server_name", r->in.server_name); + ndr_print_string(ndr, "net_name", r->in.net_name); + ndr_print_uint32(ndr, "reserved", r->in.reserved); + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetShareDel"); + ndr->depth++; + ndr_print_NET_API_STATUS(ndr, "result", r->out.result); + ndr->depth--; + } + ndr->depth--; +} + |