diff options
author | Günther Deschner <gd@samba.org> | 2008-06-02 19:17:53 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-03 01:27:47 +0200 |
commit | 7019644a77c1d5b364736b654726a1d5582febeb (patch) | |
tree | 3dcc0b1a3d8ca1d25a2d28366194cce2235c11d6 /source3/librpc/gen_ndr | |
parent | 2ead1503eb743986c7fabf1db09b8906103ee985 (diff) | |
download | samba-7019644a77c1d5b364736b654726a1d5582febeb.tar.gz samba-7019644a77c1d5b364736b654726a1d5582febeb.tar.bz2 samba-7019644a77c1d5b364736b654726a1d5582febeb.zip |
re-run make idl.
Guenther
(This used to be commit 929ecc693a44fbadadcbb9000220bce9dfa6904d)
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 13 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 23 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.h | 7 |
3 files changed, 42 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 82df9f9a9f..998d9af355 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -433,4 +433,17 @@ struct NetLocalGroupAdd { }; + +struct NetLocalGroupDel { + struct { + const char * server_name; + const char * group_name; + } 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 d1a58bbf9d..4d7f6d8917 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -1137,3 +1137,26 @@ _PUBLIC_ void ndr_print_NetLocalGroupAdd(struct ndr_print *ndr, const char *name ndr->depth--; } +_PUBLIC_ void ndr_print_NetLocalGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupDel *r) +{ + ndr_print_struct(ndr, name, "NetLocalGroupDel"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetLocalGroupDel"); + ndr->depth++; + ndr_print_string(ndr, "server_name", r->in.server_name); + ndr_print_string(ndr, "group_name", r->in.group_name); + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetLocalGroupDel"); + 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 fb93bc2f7d..7acd255a53 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.h +++ b/source3/librpc/gen_ndr/ndr_libnetapi.h @@ -46,7 +46,9 @@ #define NDR_NETLOCALGROUPADD (0x13) -#define NDR_LIBNETAPI_CALL_COUNT (20) +#define NDR_NETLOCALGROUPDEL (0x14) + +#define NDR_LIBNETAPI_CALL_COUNT (21) 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); @@ -134,4 +136,7 @@ void ndr_print_NetGroupDelUser(struct ndr_print *ndr, const char *name, int flag enum ndr_err_code ndr_push_NetLocalGroupAdd(struct ndr_push *ndr, int flags, const struct NetLocalGroupAdd *r); enum ndr_err_code ndr_pull_NetLocalGroupAdd(struct ndr_pull *ndr, int flags, struct NetLocalGroupAdd *r); void ndr_print_NetLocalGroupAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupAdd *r); +enum ndr_err_code ndr_push_NetLocalGroupDel(struct ndr_push *ndr, int flags, const struct NetLocalGroupDel *r); +enum ndr_err_code ndr_pull_NetLocalGroupDel(struct ndr_pull *ndr, int flags, struct NetLocalGroupDel *r); +void ndr_print_NetLocalGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupDel *r); #endif /* _HEADER_NDR_libnetapi */ |