diff options
author | Günther Deschner <gd@samba.org> | 2008-06-02 12:48:46 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-03 01:27:42 +0200 |
commit | e11081a672251fa0bd5b494cf7790954d19a1be1 (patch) | |
tree | e531eb75e3172a53b5ee61c77b565df885b4cce9 /source3/librpc | |
parent | 0eca06b724ed880c01c73014a35bd9c718372436 (diff) | |
download | samba-e11081a672251fa0bd5b494cf7790954d19a1be1.tar.gz samba-e11081a672251fa0bd5b494cf7790954d19a1be1.tar.bz2 samba-e11081a672251fa0bd5b494cf7790954d19a1be1.zip |
re-run make idl.
Guenther
(This used to be commit cbaaa2972bb3bf1f67af3ca5d8acf9c2e5029ae1)
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 24 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 32 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.h | 7 |
3 files changed, 62 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 3897deafda..21a3c1a8a1 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -107,6 +107,14 @@ struct GROUP_INFO_3 { uint32_t grpi3_attributes; }; +struct GROUP_INFO_1002 { + const char * grpi1002_comment; +}; + +struct GROUP_INFO_1005 { + uint32_t grpi1005_attributes; +}; + struct NetJoinDomain { struct { @@ -338,4 +346,20 @@ struct NetGroupDel { }; + +struct NetGroupSetInfo { + struct { + const char * server_name; + const char * group_name; + uint32_t level; + uint8_t *buf;/* [ref] */ + } in; + + struct { + uint32_t *parm_err;/* [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 434f726c51..a16c650c3f 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -993,3 +993,35 @@ _PUBLIC_ void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int ndr->depth--; } +_PUBLIC_ void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetInfo *r) +{ + ndr_print_struct(ndr, name, "NetGroupSetInfo"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetGroupSetInfo"); + 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_print_ptr(ndr, "buf", r->in.buf); + ndr->depth++; + ndr_print_uint8(ndr, "buf", *r->in.buf); + ndr->depth--; + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetGroupSetInfo"); + ndr->depth++; + ndr_print_ptr(ndr, "parm_err", r->out.parm_err); + ndr->depth++; + ndr_print_uint32(ndr, "parm_err", *r->out.parm_err); + 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 3052b97f5a..47f4457353 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.h +++ b/source3/librpc/gen_ndr/ndr_libnetapi.h @@ -36,7 +36,9 @@ #define NDR_NETGROUPDEL (0x0e) -#define NDR_LIBNETAPI_CALL_COUNT (15) +#define NDR_NETGROUPSETINFO (0x0f) + +#define NDR_LIBNETAPI_CALL_COUNT (16) 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); @@ -109,4 +111,7 @@ void ndr_print_NetGroupAdd(struct ndr_print *ndr, const char *name, int flags, c enum ndr_err_code ndr_push_NetGroupDel(struct ndr_push *ndr, int flags, const struct NetGroupDel *r); enum ndr_err_code ndr_pull_NetGroupDel(struct ndr_pull *ndr, int flags, struct NetGroupDel *r); void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDel *r); +enum ndr_err_code ndr_push_NetGroupSetInfo(struct ndr_push *ndr, int flags, const struct NetGroupSetInfo *r); +enum ndr_err_code ndr_pull_NetGroupSetInfo(struct ndr_pull *ndr, int flags, struct NetGroupSetInfo *r); +void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetInfo *r); #endif /* _HEADER_NDR_libnetapi */ |