diff options
author | Günther Deschner <gd@samba.org> | 2008-08-29 18:32:41 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-05 12:34:21 +0200 |
commit | c8be1cd406c4efb9897725699777420f3be21a1d (patch) | |
tree | c5d1451b23c8ebc39cedb19c71ab8bb1971c3616 /source3/librpc | |
parent | 6194cbb3c8615d8f96236c7034c0a4e161aaceec (diff) | |
download | samba-c8be1cd406c4efb9897725699777420f3be21a1d.tar.gz samba-c8be1cd406c4efb9897725699777420f3be21a1d.tar.bz2 samba-c8be1cd406c4efb9897725699777420f3be21a1d.zip |
re-run make idl.
Guenther
(This used to be commit 3469b8c79782d2b6f55dff306e67b603ecdb790a)
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 14 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 24 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.h | 7 |
3 files changed, 44 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 33ca253b60..0a22926208 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -1168,4 +1168,18 @@ struct NetShareAdd { }; + +struct NetShareDel { + struct { + const char * server_name; + const char * net_name; + uint32_t reserved; + } in; + + struct { + enum NET_API_STATUS result; + } out; + +}; + #endif /* _HEADER_libnetapi */ 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--; +} + diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h index 8324ac3188..dafd1c3ebb 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.h +++ b/source3/librpc/gen_ndr/ndr_libnetapi.h @@ -82,7 +82,9 @@ #define NDR_NETSHAREADD (0x25) -#define NDR_LIBNETAPI_CALL_COUNT (38) +#define NDR_NETSHAREDEL (0x26) + +#define NDR_LIBNETAPI_CALL_COUNT (39) enum ndr_err_code ndr_push_NET_API_STATUS(struct ndr_push *ndr, int ndr_flags, enum NET_API_STATUS r); enum ndr_err_code ndr_pull_NET_API_STATUS(struct ndr_pull *ndr, int ndr_flags, enum NET_API_STATUS *r); void ndr_print_NET_API_STATUS(struct ndr_print *ndr, const char *name, enum NET_API_STATUS r); @@ -323,4 +325,7 @@ void ndr_print_NetRemoteTOD(struct ndr_print *ndr, const char *name, int flags, enum ndr_err_code ndr_push_NetShareAdd(struct ndr_push *ndr, int flags, const struct NetShareAdd *r); enum ndr_err_code ndr_pull_NetShareAdd(struct ndr_pull *ndr, int flags, struct NetShareAdd *r); void ndr_print_NetShareAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetShareAdd *r); +enum ndr_err_code ndr_push_NetShareDel(struct ndr_push *ndr, int flags, const struct NetShareDel *r); +enum ndr_err_code ndr_pull_NetShareDel(struct ndr_pull *ndr, int flags, struct NetShareDel *r); +void ndr_print_NetShareDel(struct ndr_print *ndr, const char *name, int flags, const struct NetShareDel *r); #endif /* _HEADER_NDR_libnetapi */ |