diff options
author | Günther Deschner <gd@samba.org> | 2008-07-17 00:59:57 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-07-18 17:21:36 +0200 |
commit | 757bc51539fb015f946511cd137ae5609e0add7a (patch) | |
tree | cf5279d8f3d6f6da5ad2443ab45d4372222e1eda /source3/librpc | |
parent | 97e6a44258a8dca6bd63cf3edebfce0963bae219 (diff) | |
download | samba-757bc51539fb015f946511cd137ae5609e0add7a.tar.gz samba-757bc51539fb015f946511cd137ae5609e0add7a.tar.xz samba-757bc51539fb015f946511cd137ae5609e0add7a.zip |
re-run make idl.
Guenther
(This used to be commit de9f40ddd08dad821d3242e60a396a771cf16fa0)
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 16 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 32 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.h | 33 |
3 files changed, 67 insertions, 14 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 1a6898c4e5b..ab658c2f9f8 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -504,6 +504,22 @@ struct NetUserGetInfo { }; +struct NetUserSetInfo { + struct { + const char * server_name; + const char * user_name; + uint32_t level; + uint8_t *buffer;/* [ref] */ + } in; + + struct { + uint32_t *parm_err;/* [ref] */ + enum NET_API_STATUS result; + } out; + +}; + + struct NetQueryDisplayInformation { struct { const char * server_name;/* [unique] */ diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c index 42d21638e49..3ee4ffad6ab 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -1652,6 +1652,38 @@ _PUBLIC_ void ndr_print_NetUserGetInfo(struct ndr_print *ndr, const char *name, ndr->depth--; } +_PUBLIC_ void ndr_print_NetUserSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetInfo *r) +{ + ndr_print_struct(ndr, name, "NetUserSetInfo"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetUserSetInfo"); + ndr->depth++; + ndr_print_string(ndr, "server_name", r->in.server_name); + ndr_print_string(ndr, "user_name", r->in.user_name); + ndr_print_uint32(ndr, "level", r->in.level); + ndr_print_ptr(ndr, "buffer", r->in.buffer); + ndr->depth++; + ndr_print_uint8(ndr, "buffer", *r->in.buffer); + ndr->depth--; + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetUserSetInfo"); + 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--; +} + _PUBLIC_ void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetQueryDisplayInformation *r) { ndr_print_struct(ndr, name, "NetQueryDisplayInformation"); diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h index 29a8bb60710..94df545957a 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.h +++ b/source3/librpc/gen_ndr/ndr_libnetapi.h @@ -34,33 +34,35 @@ #define NDR_NETUSERGETINFO (0x0d) -#define NDR_NETQUERYDISPLAYINFORMATION (0x0e) +#define NDR_NETUSERSETINFO (0x0e) -#define NDR_NETGROUPADD (0x0f) +#define NDR_NETQUERYDISPLAYINFORMATION (0x0f) -#define NDR_NETGROUPDEL (0x10) +#define NDR_NETGROUPADD (0x10) -#define NDR_NETGROUPENUM (0x11) +#define NDR_NETGROUPDEL (0x11) -#define NDR_NETGROUPSETINFO (0x12) +#define NDR_NETGROUPENUM (0x12) -#define NDR_NETGROUPGETINFO (0x13) +#define NDR_NETGROUPSETINFO (0x13) -#define NDR_NETGROUPADDUSER (0x14) +#define NDR_NETGROUPGETINFO (0x14) -#define NDR_NETGROUPDELUSER (0x15) +#define NDR_NETGROUPADDUSER (0x15) -#define NDR_NETLOCALGROUPADD (0x16) +#define NDR_NETGROUPDELUSER (0x16) -#define NDR_NETLOCALGROUPDEL (0x17) +#define NDR_NETLOCALGROUPADD (0x17) -#define NDR_NETLOCALGROUPGETINFO (0x18) +#define NDR_NETLOCALGROUPDEL (0x18) -#define NDR_NETLOCALGROUPSETINFO (0x19) +#define NDR_NETLOCALGROUPGETINFO (0x19) -#define NDR_NETREMOTETOD (0x1a) +#define NDR_NETLOCALGROUPSETINFO (0x1a) -#define NDR_LIBNETAPI_CALL_COUNT (27) +#define NDR_NETREMOTETOD (0x1b) + +#define NDR_LIBNETAPI_CALL_COUNT (28) 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); @@ -154,6 +156,9 @@ void ndr_print_NetUserChangePassword(struct ndr_print *ndr, const char *name, in enum ndr_err_code ndr_push_NetUserGetInfo(struct ndr_push *ndr, int flags, const struct NetUserGetInfo *r); enum ndr_err_code ndr_pull_NetUserGetInfo(struct ndr_pull *ndr, int flags, struct NetUserGetInfo *r); void ndr_print_NetUserGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetInfo *r); +enum ndr_err_code ndr_push_NetUserSetInfo(struct ndr_push *ndr, int flags, const struct NetUserSetInfo *r); +enum ndr_err_code ndr_pull_NetUserSetInfo(struct ndr_pull *ndr, int flags, struct NetUserSetInfo *r); +void ndr_print_NetUserSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetInfo *r); enum ndr_err_code ndr_push_NetQueryDisplayInformation(struct ndr_push *ndr, int flags, const struct NetQueryDisplayInformation *r); enum ndr_err_code ndr_pull_NetQueryDisplayInformation(struct ndr_pull *ndr, int flags, struct NetQueryDisplayInformation *r); void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetQueryDisplayInformation *r); |