diff options
author | Günther Deschner <gd@samba.org> | 2008-06-02 20:19:36 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-03 01:27:48 +0200 |
commit | cc494641335b4c16b31b6fb0e91f79063adef668 (patch) | |
tree | 454322cd7c2f0d3d3b56552d46d04f192a2d3732 /source3/librpc/gen_ndr | |
parent | 8216c60265a06911c14ada33d5cf6d456c5b26d4 (diff) | |
download | samba-cc494641335b4c16b31b6fb0e91f79063adef668.tar.gz samba-cc494641335b4c16b31b6fb0e91f79063adef668.tar.bz2 samba-cc494641335b4c16b31b6fb0e91f79063adef668.zip |
re-run make idl.
Guenther
(This used to be commit 39e3a29cb9a57d5f79e503f7d4873b5c8a844976)
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 15 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 33 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.h | 7 |
3 files changed, 54 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 998d9af355..ab4da83209 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -446,4 +446,19 @@ struct NetLocalGroupDel { }; + +struct NetLocalGroupGetInfo { + struct { + const char * server_name; + const char * group_name; + uint32_t level; + } in; + + struct { + uint8_t **buf;/* [ref] */ + 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 4d7f6d8917..160f57d297 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -1160,3 +1160,36 @@ _PUBLIC_ void ndr_print_NetLocalGroupDel(struct ndr_print *ndr, const char *name ndr->depth--; } +_PUBLIC_ void ndr_print_NetLocalGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupGetInfo *r) +{ + ndr_print_struct(ndr, name, "NetLocalGroupGetInfo"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetLocalGroupGetInfo"); + ndr->depth++; + ndr_print_string(ndr, "server_name", r->in.server_name); + ndr_print_string(ndr, "group_name", r->in.group_name); + ndr_print_uint32(ndr, "level", r->in.level); + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetLocalGroupGetInfo"); + 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--; +} + diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h index 7acd255a53..fda2730caa 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.h +++ b/source3/librpc/gen_ndr/ndr_libnetapi.h @@ -48,7 +48,9 @@ #define NDR_NETLOCALGROUPDEL (0x14) -#define NDR_LIBNETAPI_CALL_COUNT (21) +#define NDR_NETLOCALGROUPGETINFO (0x15) + +#define NDR_LIBNETAPI_CALL_COUNT (22) 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); @@ -139,4 +141,7 @@ void ndr_print_NetLocalGroupAdd(struct ndr_print *ndr, const char *name, int fla 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); +enum ndr_err_code ndr_push_NetLocalGroupGetInfo(struct ndr_push *ndr, int flags, const struct NetLocalGroupGetInfo *r); +enum ndr_err_code ndr_pull_NetLocalGroupGetInfo(struct ndr_pull *ndr, int flags, struct NetLocalGroupGetInfo *r); +void ndr_print_NetLocalGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupGetInfo *r); #endif /* _HEADER_NDR_libnetapi */ |